# 为深度链接设置允许的域名

如果您希望合作伙伴能够深度链接到您网站上的特定页面，您必须向 impact.com 提供合作伙伴可以将流量发送到的域（impact.com 将这些称为“允许的域”）。无论您是否知道要将流量发送到哪些特定域，您都应执行此操作。

#### 使用未被许可的域

如果合作伙伴在其深度链接中未使用您提供的允许域，那么他们通过该链接驱动的所有流量都会被发送到一个通用的 impact.com 页面，无法选择前往您的网站。如果您不确定应在此处列出哪些域，请联系管理您网站的团队成员。如果他们也不确定或没有给出具体域，您应输入默认值（如下所示）。

#### 设置允许的域

1. 从顶部导航栏，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-1183576591b45997efe4dc81a25024640591d02a%2F245137dc972a7a7f6165b59538fcdbac8fd5bd8fee4ba9f20c1a2982c5b58b57.svg?alt=media) **\[用户资料] → 设置**.&#x20;
2. 在右侧，在 *跟踪*下，选择 **网关**.
3. 在……旁边 *深度链接*，切换开启 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-d0b6669ae76a7bef06a8d6940d7ad5c16bb8d018%2F7cb018d4face8d7cceb880eb5086c812e764fbcfe6f2a0377f88bc7576973070.svg?alt=media) **允许合作伙伴对我网站上的特定页面创建深度链接**.
4. 在 *允许的域*，如果您没有要添加的特定域，请输入以下默认域：

   | 域名                      | 示例            |
   | ----------------------- | ------------- |
   | \[您的网站域名].\[您网站的顶级域]    | impact.com    |
   | \*.\[您的网站域名].\[您网站的顶级域] | \*.impact.com |
5. 或者，如果您确实有自己的允许域要在此处输入，请遵循以下格式指南：
   * 在允许的域中不要包含任何路径或斜杠（`/`）。请排除 URL 域名之后的斜杠及其包含和之后的任何内容。
   * 如果 URL 在用作深度链接时可能包含子域（例如， `www.`），您必须包括该 URL 的两个版本。在这种情况下，请遵循上面默认允许域所使用的格式。
   * 如果您提供了自己的特定域，请不要包含上面的默认允许域。
6. 选择 **保存**.

   <div data-with-frame="true"><figure><img src="https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-7b2d01eab5a870e01f0033946c16065696a88cf6%2F601359136cdb4299025eef6ab7dc71bfb282a8a54c6fc24dcad9b526bc7cafc0.png?alt=media" alt=""><figcaption></figcaption></figure></div>

#### 修复面向合作伙伴的常见错误信息

{% tabs %}
{% tab title="示例 1" %}
{% hint style="info" %}
**错误信息：** 您点击的链接格式错误。请联系来源页面的编辑者。
{% endhint %}

此错误可能是因为您未启用深度链接。要启用它，请执行以下操作：

1. 从顶部导航栏，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-1183576591b45997efe4dc81a25024640591d02a%2F245137dc972a7a7f6165b59538fcdbac8fd5bd8fee4ba9f20c1a2982c5b58b57.svg?alt=media) **\[用户资料] → 设置**.&#x20;
2. 在右侧，在 *跟踪* 部分，选择 **网关**.
3. 在 *深度链接* 部分选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-6027673a720a6522269e1861ad0554c4a85baf29%2F9dcf248c757a094c6af27798e61091b8425a0afa1637ae0e5ba3448c5f85b1a1.svg?alt=media) **要返回编辑界面，请选择** 和 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-d0b6669ae76a7bef06a8d6940d7ad5c16bb8d018%2F7cb018d4face8d7cceb880eb5086c812e764fbcfe6f2a0377f88bc7576973070.svg?alt=media) **【切换开启】** **允许合作伙伴对我网站上的特定页面创建深度链接**.
4. 指定允许合作伙伴进行深度链接的基本域名。
   * 域名应以逗号分隔且无空格。支持通配符字符。例如，yoursite.,\*.yoursite.
5. 选择 **保存**.

或者，您可能没有设置阻止规则。要检查是否设置了阻止规则：

1. 从顶部导航栏，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-1183576591b45997efe4dc81a25024640591d02a%2F245137dc972a7a7f6165b59538fcdbac8fd5bd8fee4ba9f20c1a2982c5b58b57.svg?alt=media) **\[用户资料] → 设置**.&#x20;
2. 在右侧，在 *技术* 部分，选择 [阻止与重定向](https://app.impact.com/secure/advertiser/tracking-settings/manage-block-redirect-rules-flow.ihtml?).
3. 确保您已设置阻止规则。了解更多关于如何 [配置阻止路由规则](https://help.impact.com/brand/zh/nin-xiang-liao-jie-shen-me/platform-features/blocking-and-redirect-rules/configure-block-routing-rules).
   {% endtab %}

{% tab title="示例 2" %}
{% hint style="info" %}
**错误信息：** 您点击的链接已过期。对此给您带来的任何不便，我们深表歉意。
{% endhint %}

该合作伙伴可能已被您的项目列入黑名单。如果您想将该合作伙伴从黑名单中移除， [联系支持](https://app.impact.com/secure/advertiser/support/customer-support-portal-flow.ihtml).
{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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:

```
GET https://help.impact.com/brand/zh/nin-xiang-liao-jie-shen-me/account-administration/program-settings/tracking-settings/set-up-permitted-domains-for-deep-linking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
