> 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. 在……中 *项目* 列中，找到 *跟踪*下，选择 **Gateway**.
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，由以下内容填充： `{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. 在……中 *项目设置* 列中，找到 *跟踪*下，选择 **Gateway**.
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.
