> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/tracking/set-up-tracking/set-up-a-custom-tracking-domain.md).

# 设置自定义跟踪域名

您可以在账户的技术设置中，为 Performance 或 Creator 计划设置自己的自定义跟踪域名。您需要配置、验证并启用自定义跟踪域名。如果您有 Advocate 计划，请了解如何 [为 Advocate 设置自定义域名](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/set-up-a-domain-for-advocate.md).

#### 配置自定义跟踪域名

1. 在顶部导航栏中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2F210dEQa93qyQgoJDkieL%2FUser%20profile.svg?alt=media\&token=f84c5b17-fae4-4a30-990a-9de5e57a150b) **\[用户个人资料] → 设置**.
2. 在左侧的 *账户设置* → *技术*下，选择 [**跟踪域名**](https://app.impact.com/secure/advertiser/fr/tracking-domains.ihtml).
3. 选择 **创建跟踪域名**.
4. 在 **域名** 字段中，输入您要使用的子域名，例如 `goto.yourcompany.com`.
5. 您也可以在 *重定向格式错误的请求* 下方选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FwXho9QKP3e4iU4ZKUSJ5%2F167ebb8cc30303.svg?alt=media\&token=a046e9f0-63aa-46f6-8a35-f73973fd326c) **\[复选框]** 如果收到格式错误的请求，则将其重定向到默认落地页。
   * 输入默认落地页的 URL。
6. 选择一种 **配置类型**.

{% tabs %}
{% tab title="自定义代理配置：" %}
（推荐）通过为网站提供服务的网络设置代理，确保跟踪域名与网站使用相同的 IP 地址范围。对于希望提高跟踪可靠性的品牌，建议采用此方法。

**自定义代理配置说明**

按照我们的分步指南配置 CNAME 记录，并与 impact.com 的跟踪服务建立代理连接。

这些说明针对 Cloudflare 编写，但您也可以在 Akamai、CloudFront 和 Fastly 等其他网络中进行类似配置。具体步骤可能有所不同，但设置代理 CNAME 并配置 SSL 规则的总体流程是通用的。

**添加 DNS 记录**

1. 登录 Cloudflare，然后在控制面板中选择相关域名。
2. 在 *DNS* 部分中，选择 **添加记录** 并填写以下字段：
   * **类型**：选择 **CNAME**
   * **名称**：输入所需的域名，例如 `goto.yourcompany.com`
   * **目标**：设为 `your_full_customhostname.ct.impact.com` （您的完整自定义主机名，后接 `.ct.impact.com`)
   * **代理状态**：选择 **启用** （云朵图标应为橙色）
   * **TTL**：保留为 **自动**

**配置规则和 SSL**

1. 在 Cloudflare 中，前往 **规则** → **配置规则**.
2. 选择 **创建规则**.
3. 填写以下字段：
   * **规则名称**：为规则指定一个唯一名称。
   * **URL**：在域名前后添加星号，例如： `*goto.yourcompany.com*`.
4. 在 *SSL* 标题下方，使用下拉列表选择 **完全** 加密模式。
5. 选择 **部署** 以激活规则。
6. 将规则拖到 *配置规则* 列表顶部，以提高其优先级。
   {% endtab %}

{% tab title="快捷域名集成：" %}
只需更改一条 CNAME 记录即可完成集成。impact.com 会处理复杂的技术细节，让您只需进行极少的设置即可提升品牌一致性。

**快捷域名集成说明**

1. 登录您的域名提供商网站。
2. 找到 DNS 或域名管理区域。
3. 修改 DNS 记录。
   * 在 *主机* 或 *别名* 字段中，输入您选择的域名。
   * 在 *类型* 或 *记录类型* 字段中，选择 **CNAME**.
   * 将域名的 CNAME 记录设置为：
     * `customtracking.impact.com.cdn.cloudflare.net`
4. 确认并保存新的 DNS 设置。

为避免跟踪中断并保持连接稳定，请了解更多关于 [优化自定义跟踪域名的信息](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/tracking/set-up-tracking/best-practices-for-express-domain-integration.md).
{% endtab %}
{% endtabs %}

7. 选择 **保存**.

#### 验证您的域名

更新域名设置后，请返回您的 impact.com 账户验证域名，并确认配置正确。

1. 在顶部导航栏中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2F210dEQa93qyQgoJDkieL%2FUser%20profile.svg?alt=media\&token=f84c5b17-fae4-4a30-990a-9de5e57a150b) **\[用户个人资料] → 设置**.
2. 在左侧的 *账户设置* → *技术*下，选择 [**跟踪域名**](https://app.impact.com/secure/advertiser/fr/tracking-domains.ihtml).
3. 将光标悬停在域名上，然后选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FMLtRUwWz0pujlfmYWOgg%2FMoreVN.svg?alt=media\&token=03a3c355-a347-4207-baf7-c44fadf6d080) **\[更多]** → **验证**.
4. 选择 **验证** 在页面底部，然后选择 **完成** 以退出。
   * 如果您的域名已成功验证，它将显示为 `VERIFIED`。验证过程最多可能需要 48 小时才能生效。
   * 如果出现任何问题，impact.com 会定期检查域名状态，并在域名配置完成且可供使用后通过电子邮件通知您。
5. 最后，激活已验证的域名。

#### 激活已验证的域名

在完成以下步骤之前，您的自定义跟踪域名将处于未启用状态。将自定义域名分配给项目后，所有后续跟踪链接都会使用该自定义域名。使用原跟踪域名的链接将继续有效，并自动通过新的自定义跟踪域名重定向。

{% hint style="success" %}
**注意：** impact.com 平台默认会为您的所有项目分配新的跟踪域名。如果您想为特定项目设置跟踪域名，请 [联系支持团队](https://app.impact.com/support/portal.ihtml?createTicket=true).
{% endhint %}

{% hint style="info" %}
**提示**：请与合作伙伴协调跟踪域名变更事宜，以便他们相应地更新现有跟踪链接。这样可以减少链接重定向到您网站时不必要的延迟。
{% endhint %}

1. 在顶部导航栏中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2F210dEQa93qyQgoJDkieL%2FUser%20profile.svg?alt=media\&token=f84c5b17-fae4-4a30-990a-9de5e57a150b) **\[用户个人资料] → 设置**.
2. 在左侧的 *账户设置* → *技术*下，选择 [**跟踪域名**](https://app.impact.com/secure/advertiser/fr/tracking-domains.ihtml).
3. 将光标悬停在您的域名上，然后选择 **为所有项目设置** 即可将您的域名分配给所有项目。
   * 建议您请合作伙伴更新跟踪链接。合作伙伴可以访问 [创建跟踪链接](https://help.impact.com/partner/zh/ni-xiang-liao-jie-shen-me/platform-features/tracking/tracking-links/create-and-manage-links/create-tracking-links.md).

#### 更新您的通用跟踪代码 (UTT)

如果您使用 impact.com 的通用跟踪代码 (UTT) 进行跟踪，现在正是更新该代码脚本主机的好时机。您之前可能使用 utt.impactcdn.com 或 d.impactradius-event.com 作为脚本主机。为保持品牌一致性并充分利用新验证的域名，建议将 UTT 脚本主机切换为您的品牌域名。更改脚本标签的主机并非跟踪继续正常运行的必要条件。

1. 在您网站的代码、标签管理器或集成了 UTT 的任何平台中，找到 UTT 脚本标签。
2. 将标签中的脚本主机（utt.impactcdn.com 或 d.impactradius-event.com）替换为新的品牌域名主机。
3. 保存并发布更改。

完成这些更新后，请务必测试 UTT 的功能，确认跟踪不受影响，并且使用新的脚本主机时仍能按预期运行。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/tracking/set-up-tracking/set-up-a-custom-tracking-domain.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
