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