> 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/configure-custom-uri-schemes.md).

# 配置自定义 URI 方案

**URI 方案**，它们出现在 URL 的协议中，用于向一个 *客户端*（例如网页浏览器）提供如何解释 URL 协议之后所有内容的指示（即，紧随 `://`之后的所有内容）。如果你正在使用 impact.com 的页面加载 API，并且想使用自定义 URI 方案，你需要在 impact.com 的 web 应用中列出你想传入的方案。

<div data-with-frame="true"><figure><img src="/files/44e3d297312f915ac513ce242dd726442889d2d1" alt=""><figcaption></figcaption></figure></div>

impact.com 使用这些 URI 方案来确保流量被关联到正确的项目，同时区分网站内网页之间的任何站内点击与新流量或推荐流量。然而，如果不列出你想使用的方案，页面加载 API 可能会对包含自定义 URI 方案的 URL 返回错误，或者 impact.com 直接拒绝这些 URL。

如果你打算在 [直接流量跟踪](/brand/zh/what-would-you-like-to-learn-about/platform-features/tracking/set-up-tracking/set-up-direct-traffic-tracking.md) 中使用它，也应考虑列出自定义 URI 方案。

#### 列出 URI 方案

1. 从顶部导航栏中，选择 ![](/files/34cff7cafbbfcd416778a35b63cb058c27bcda8b) **\[用户资料] → 设置**.
2. 在右侧，位于 *跟踪*下，选择 **常规**.
3. 在 *URI 方案*，请输入你打算传递的自定义 URI 方案。每个值之间用逗号分隔。
4. 选择 **保存**.

   <div data-with-frame="true"><figure><img src="/files/88da511898f52f8cb32f4f92a9568d0f7a447312" alt="" width="338"><figcaption></figcaption></figure></div>

像 PayPal 这样的支付网关网站会被自动视为站内流量，无需手动添加。

{% hint style="info" %}
**备注**：impact.com 不接受非 HTTP 风格的 URI 方案（例如， `file` 或 `mailto`).
{% endhint %}


---

# 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/platform-features/tracking/set-up-tracking/configure-custom-uri-schemes.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.
