> 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. 从顶部导航栏中选择 ![](/files/34cff7cafbbfcd416778a35b63cb058c27bcda8b) **\[用户资料] → 设置**.
2. 在 *项目* 列中，找到 *追踪*，并选择 **网关**.
3. 向下滚动到 *第三方网关 URL* 字段中。
4. ![](/files/3980f01ba7b178cc917bfb7b270feb4fac2992c6) **\[切换开启]** 此 *通过第三方网关 URL 发送所有流量* 部分以了解更多详情，如下所示。
5. 如果您想通过第三方 URL 路由流量，可以配置该 URL，以及您希望附加的任何查询字符串参数。
   * 如果您使用第三方跟踪系统，可以使用此功能将点击数据记录到该系统中。

<div data-with-frame="true"><figure><img src="/files/fa49a38038c356f568844a4d927580ae7e708102" 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. 从顶部导航栏中选择 ![](/files/34cff7cafbbfcd416778a35b63cb058c27bcda8b) **\[用户资料] → 设置**.
2. 在 *程序设置* 列中，找到 *追踪*，并选择 **网关**.
3. 在 *点击跟踪设置*，修改点击跟踪窗口的持续时间。

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

   <div data-with-frame="true"><figure><img src="/files/5e5f9be568adbfd53905e3fc7f6ab421dd4f9631" 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.
