> 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/collect-campaign-data-with-google-analytics.md).

# 使用 Google Analytics 收集活动数据

您可以通过在所用的目标网址中添加广告系列参数，收集广告系列相关信息。这样，您就可以跟踪广告系列在不同社交媒体应用中的表现，也可以跟踪广告的电子邮件版或视频版。

用户点击推荐链接时，您添加的参数会发送到 Google Analytics，相关数据会显示在 Google Analytics 的广告系列报告中。详细了解 [如何使用自定义网址收集广告系列数据](https://support.google.com/analytics/answer/1033863) ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-1ab546ef5205b558edc370fc930f0bcbd5500f28%2F14d4634ff37b6478b900d0e3f5d89a3cc35a1a673611cb2d2f40cd7cf208261a.svg?alt=media) 请参阅 Google 帮助中心。

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. 在右侧的 *跟踪*下，选择 **网关**.
   * 详细了解 [如何配置网关跟踪设置](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/configure-gateway-tracking-settings.md).
3. 在 *合作伙伴跟踪模板*下方，添加您希望自动附加到合作伙伴链接的 UTM 参数。请参阅下方的 *参数参考* ，了解可用参数的详情。

<details>

<summary>参数参考</summary>

共有 5 个参数 [可添加到您的网址中](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/gateway-tracking-templates.md).

| 参数             | 说明                                                                                  | Google Analytics 是否要求？ |
| -------------- | ----------------------------------------------------------------------------------- | ---------------------- |
| `utm_source`   | 用于标识向您的媒体资源引流的广告主、网站、出版物等，例如：impact.com、广告牌。                                        | 是                      |
| `utm_medium`   | 广告或营销媒介，例如：cpc、横幅广告、电子邮件简报。                                                         | 是                      |
| `utm_campaign` | 用于标识某个产品的具体广告系列名称、口号、促销代码等。                                                         | 是                      |
| `utm_term`     | 用于标识付费搜索关键字。如果您手动为付费关键字广告系列添加标记，还应使用 `utm_term` 来指定关键字。                             | 否                      |
| `utm_content`  | 用于区分同一广告中的链接。例如，如果同一封电子邮件中有两个行动号召链接，您可以使用 `utm_content` 并为每个链接设置不同的值，以便了解用户点击了哪个链接。 | 否                      |

</details>

4. 选择 **保存**.

   <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%2Fb3gpuKE2YhfI91bkGj35%2FScreenshot%202026-05-06%20at%2014.40.39.png?alt=media&amp;token=bb05221d-ba9d-442a-b04f-7143cc2d1018" alt="" width="563"><figcaption></figcaption></figure></div>

#### 示例

Dunder Mifflin Paper Company 正在开展春季促销活动，并使用以下参数来识别其流量：

* `utm_campaign = spring-2024` 用于标识整个广告系列。
* `utm_source = spring2024-mailer` 用于标识来自电子邮件广告系列的流量。
* `utm_medium = email` 用于区分来自电子邮件广告系列和应用内广告系列的流量。

您的自定义广告系列网址如下：

`https://www.example.com?utm_campaign=spring-2024s&utm_source=spring2024-mailer&utm_medium=email`


---

# 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/platform-features/tracking/set-up-tracking/collect-campaign-data-with-google-analytics.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.
