> 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 设置自定义域](/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`
   * **目标**：设置为 `customtracking.impact.com`
   * **代理状态**：选择 **启用** （云图标应为橙色）
   * **TTL**：保持为 **自动**

**配置规则和 SSL**

1. 在 Cloudflare 中，前往 **规则** → **配置规则**.
2. 选择 **创建规则**.
3. 填写以下字段：
   * **规则名称**：为该规则定义一个唯一名称。
   * **网址**：在您的域名前后输入星号，例如： `*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 设置。

为防止跟踪中断并保持稳定连接，请了解更多关于 [优化您的自定义跟踪域](/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. 选择 **验证** 在页面底部，然后选择 **完成** 退出。
   * 如果您的域验证成功，它将显示为 `已验证`。请最多等待 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. 将光标悬停在您的域上并选择 **为所有项目设置** 以便在所有项目中分配您的域。
   * 建议您请合作伙伴更新他们的跟踪链接。他们可以通过访问以下页面了解操作方法： [创建跟踪链接](/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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
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=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
