> 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-direct-traffic-tracking.md).

# 设置直接流量跟踪

<a href="https://pxa.impact.com/student/activity/1117597?sid=0c0e3e5c-54c9-4435-9bee-ebcdccb7f292&#x26;sid_i=0?utm_source=app.impact.com&#x26;utm_medium=owned-platform&#x26;utm_content=tra-350&#x26;utm_campaign=help-center" class="button primary">参加 PXA 课程</a>

直接流量追踪允许您的团队在不使用追踪链接的情况下追踪合作伙伴级别的流量。

大多数点击流量追踪都会使用追踪链接，即嵌入在广告、徽标或合作伙伴网站文本中的链接。 **直接流量跟踪**然而，它在不使用追踪链接的情况下识别到达您网站的消费者流量来源。相反，来自着陆页 URL 或引荐 URL 的信息会识别流量来源。

{% hint style="warning" %}
**必填**：如果您想使用直接流量来追踪事件，您需要 [UTT 和 Identify Function 标签](/brand/zh/what-would-you-like-to-learn-about/platform-features/tracking/javascript-tag-tracking/tracking-with-universal-tracking-tag-utt.md) ，或者您需要实施 [PageLoad API 请求](https://integrations.impact.com/impact-brand/reference/pageload-overview) 在您网站的每个页面上。如果您目前没有使用 UTT 或 PageLoad API，并且有意切换， [联系支持](https://app.impact.com/support/portal.ihtml?createTicket=true&) 以引导您完成迁移过程。
{% endhint %}

#### 设置直接流量跟踪

![](/files/1a9c5fca63d03ab72cb41e90c9d6b3b17a9b85f7) 此功能仅适用于特定的 impact.com 版本或附加组件。 [联系我们](https://app.impact.com/support/portal.ihtml?createTicket=true) 以升级您的账户并获得访问权限！

1. 从左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage]** → **合作伙伴**.
2. 将光标悬停在您想查看其流量的合作伙伴上。然后选择 ![](/files/48274f9251fd79e93a99aad7b4393690b07a61c9) **\[More]** **跟踪** → **直接流量跟踪**.
3. 设置您的 **用于识别** 该流量。有关更多信息，请参阅识别规则参考。
4. 选择 **保存**.

**识别规则说明**

识别流量有三种方式——通过 *落地页*、按 *推荐 URL*，或两者兼有。每种追踪方式都有一个子部分，并且根据您合作伙伴的流量识别方式，您需要设置规则来指示 impact.com 如何对传入流量进行分类。

每条识别规则还需要一个匹配规则，因此可以设置更严格或更宽松的组合（例如， `包含`, `以……开头`, `不包含`等）。

<details>

<summary>着陆页参考</summary>

由于引荐 URL 并不总是可用，因此建议改为设置着陆页规则。许多因素都会妨碍 [使用引荐 URL 参数](https://help.impact.com/en/support/solutions/articles/48001214026-using-the-referring-url-parameter?accountType=ADVERTISER).

| 落地页          | 说明                                                                                                                                                                                                                                                                                                              |
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **落地页 URL**  | 根据着陆页 URL 或其传递内容来识别流量。                                                                                                                                                                                                                                                                                          |
| **落地页域名**    | <p>如果您的项目有多个域名，并且每个合作伙伴都有一个域名，那么请务必设置规则。</p><p>• 查看 <em>规则</em> 请参阅下面的参考表以获取更多信息。</p>                                                                                                                                                                                                                           |
| **落地页查询字符串** | <p>仅按参数名称匹配，而不考虑参数值。</p><p>例如，添加一个带动态值的链接， <code>AID=</code> ，因此您可以匹配（<code>完全匹配</code>, <code>包含</code>, <code>以……开头</code>等）AID 参数名称。</p>                                                                                                                                                                     |
| **落地页参数**    | <p>当着陆页参数是固定的 name=value 对时使用。</p><p>例如，如果您想追踪合作伙伴何时向 <code>brand.com?partner=123</code>发送流量，那么请在 <code>合作伙伴</code> 第一个框中输入，并从下拉菜单中选择 <strong>包含</strong> 或 <strong>完全匹配</strong> ，然后在最后一个框中插入 123。impact.com 也支持多个值，可用逗号分隔这些值（以及 <a href="https://en.wikipedia.org/wiki/Regular_expression">正则表达式</a> 查询）。</p> |

</details>

<details>

<summary>引荐 URL 参考</summary>

| 推荐 URL      | 说明                                                                                                                                                                                                                                                                                                                                                                                                          |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **推荐 URL**  | <p>将合作伙伴流量配置为按引荐 URL 匹配。请指定一个以逗号分隔的域名列表，或使用通配符匹配域名的一部分。</p><p>例如，匹配 URL 的目录部分 - <em><code>./advertiser。</code></em> 或 <code>[www.petercoupons.com/mysite/](http://www.petercoupons.com/mysite/)</code>.</p>                                                                                                                                                                                                 |
| **推荐域名**    | 例如，来自 petercoupons.com 的所有流量都会被 impact.com 归因给该合作伙伴： *Peter Coupons*.                                                                                                                                                                                                                                                                                                                                       |
| **引荐查询字符串** | <p>当引荐 URL 中存在特定参数名称时使用。</p><p>例如，添加一个带动态值的链接， <code>AID=</code>，因此您可以匹配（<code>完全匹配</code>, <code>包含</code>, <code>以……开头</code>等）AID 参数名称。</p>                                                                                                                                                                                                                                                              |
| **引荐参数**    | <p>当引荐 URL 包含特定的 name=value 查询字符串对时使用。</p><p>例如，如果您想追踪合作伙伴何时向 <code>brandadvertiser.com?partner=123</code>发送流量，那么请在 <code>合作伙伴</code> 第一个框中输入，并从 <img src="/files/9ee7bd3c79aae4d0667377d18611647c3469f8d1" alt=""> <strong>\[下拉菜单]</strong>下拉菜单中选择 contains 或 exactly matches，然后在最后一个框中插入 123。impact.com 也支持多个值，可用逗号分隔这些值（以及 <a href="https://en.wikipedia.org/wiki/Regular_expression">正则表达式</a> 查询）。</p> |

</details>

<details>

<summary>规则参考</summary>

如果着陆页和引荐 URL 域名都已启用，可使用以下内容作为创建规则的指导：

| 规则      | 说明                                               |
| ------- | ------------------------------------------------ |
| **AND** | 要求着陆页域名和引荐域名都匹配。                                 |
| **或者**  | 此选项更灵活，允许着陆页或引荐域名任一匹配。如果选择“OR”，在出现任何冲突时，着陆页方法优先。 |

</details>

**测试您的直接追踪**

要测试您的直接追踪设置，请进一步了解 [品牌的合作伙伴测试账户](/brand/zh/what-would-you-like-to-learn-about/account-administration/account-settings/partner-test-accounts-for-brands.md).


---

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

```
GET https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/tracking/set-up-tracking/set-up-direct-traffic-tracking.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.
