> 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/account-administration/program-settings/tracking-settings/set-third-party-gateway-urls-and-click-tracking.md).

# 设置第三方网关 URL 和点击跟踪

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

{% hint style="warning" %}
**警告：** 在修改本文讨论的高级设置之前， [请联系支持团队](https://app.impact.com/support/portal.ihtml?createTicket=true) 或联系您的客户成功经理 (CSM)。
{% endhint %}

#### 查看和修改第三方网关 URL 参数

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. 在 *计划* 列中，找到 *跟踪*，然后选择 **网关**.
3. 向下滚动到 *第三方网关 URL* 字段。
4. ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FiZjM1xY8o3v1iR3Zaysd%2FToggle.svg?alt=media\&token=b1550d48-bba9-4e81-8604-bc12370c5caa) **\[开启]** 以下 *通过第三方网关 URL 发送所有流量* 部分，了解更多详情，如下所示。
5. 如果您想通过第三方 URL 路由流量，可以配置该 URL，以及要附加的任何查询字符串参数。
   * 如果您使用第三方跟踪系统，可以使用此功能在该系统中记录点击数据。

<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%2F8CCpUNch0uFQshL4qccE%2FScreenshot%202026-04-21%20at%2017.10.20.png?alt=media&amp;token=f1bef73f-b60f-4107-9395-0e4d1d205f92" alt="" width="563"><figcaption></figcaption></figure></div>

<details>

<summary>查询字符串参数参考</summary>

| 参数                | 说明                                                                                             |
| ----------------- | ---------------------------------------------------------------------------------------------- |
| `{gwlurl}`        | 所有访客都将重定向到您的网关落地页 URL，该 URL 会填入 `{gwlurl}` 令牌，以确保准确跟踪。                                         |
| `{clickid}`       | 分配给点击事件的唯一点击 ID。                                                                               |
| `{iradid}`        | 引荐广告 ID。                                                                                       |
| `{ircid}`         | 引荐计划 ID。                                                                                       |
| `{irpid}`         | 引荐合作伙伴 ID。                                                                                     |
| `{iradname}`      | 引荐广告名称。                                                                                        |
| `{iradtype}`      | 引荐广告类型。                                                                                        |
| `{iradsize}`      | 引荐广告尺寸（宽 x 高）。                                                                                 |
| `{prodsku}`       | 引荐广告中产品的 SKU。                                                                                  |
| `{irmpname}`      | 引荐合作伙伴名称。                                                                                      |
| `{irmptype}`      | 引荐媒体类型。                                                                                        |
| `{sharedid}`      | 引荐合作伙伴提供的 ID。                                                                                  |
| `{irmpgroupname}` | 合作伙伴组名称。                                                                                       |
| `{mp_value1}`     | 推荐合作伙伴的自定义合作伙伴值 1。                                                                             |
| `{mp_value2}`     | 推荐合作伙伴的自定义合作伙伴值 2。                                                                             |
| `{mp_value3}`     | 推荐合作伙伴的自定义合作伙伴值 3。                                                                             |
| `{timestamp}`     | UNIX 时间戳。                                                                                      |
| `{randint}`       | 介于 0 和 10,000,000 之间的随机整数（不包括 10,000,000）。                                                     |
| `{CUSTOM}`        | 此功能可让你捕获跟踪链接中传递的值。例如，如果你发送了 `http://trackinglink.com?myvar=1`，那么你可以添加 `{myvar}` ，以便在跟踪模板中使用该值。 |

</details>

#### 查看和修改点击跟踪设置

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. 在 *计划设置* 列中，找到 *跟踪*，然后选择 **网关**.
3. 在 *点击跟踪设置*中，修改点击跟踪窗口的持续时间。

   * 默认采用 IAB 标准的 30 分钟滚动窗口，这意味着每次新的点击（与同一个 `ClickId`关联）都会使点击跟踪会话保持活动状态。

   <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-f74e84a9506568417d4acf253ad677def93b32af%2F1600418c49f402cc9aa48782d3025831759a913fffc787463f1d800a4ffc777e.png?alt=media" alt=""><figcaption></figcaption></figure></div>


---

# 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/account-administration/program-settings/tracking-settings/set-third-party-gateway-urls-and-click-tracking.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.
