> 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/ja/what-would-you-like-to-learn-about/platform-features/tracking/set-up-tracking/collect-campaign-data-with-google-analytics.md).

# Google Analyticsでキャンペーンデータを収集

使用するリンク先URLにキャンペーンパラメータを追加すると、広告キャンペーンに関する情報を収集できます。これにより、さまざまなソーシャルメディアアプリでキャンペーンを追跡できるほか、広告のメール版や動画版も追跡できます。

ユーザーが参照リンクをクリックすると、追加したパラメータがGoogle アナリティクスに送信され、関連データはGoogle アナリティクスのキャンペーンレポートで確認できます。詳しくは、 [カスタムURLを使ったキャンペーンデータの収集](https://support.google.com/analytics/answer/1033863) ![](https://1458456015-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://1458456015-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/ja/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/configure-gateway-tracking-settings.md).
3. 以下の *パートナー追跡テンプレート*に、パートナーリンクに自動的に追加するUTMパラメータを入力します。利用可能なパラメータの詳細については、以下の *パラメータのリファレンス* をご覧ください。

<details>

<summary>パラメータのリファレンス</summary>

追加できるパラメータは5つです。 [URLに追加できるパラメータ](https://help.impact.com/brand/ja/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/gateway-tracking-templates.md).

| パラメーター         | 説明                                                                                                            | Google アナリティクスで必須？ |
| -------------- | ------------------------------------------------------------------------------------------------------------- | ------------------ |
| `utm_source`   | プロパティへのトラフィックの送信元となる広告主、サイト、出版物などを識別します。例: impact.com、billboard。                                              | はい                 |
| `utm_medium`   | 広告またはマーケティングの媒体です。例: cpc、banner、email newsletter。                                                             | はい                 |
| `utm_campaign` | 商品に関する個別のキャンペーン名、スローガン、プロモーションコードなどです。                                                                        | はい                 |
| `utm_term`     | 有料検索キーワードを識別します。有料キーワードキャンペーンに手動でタグを付ける場合は、 `utm_term` も使用してキーワードを指定してください。                                   | いいえ                |
| `utm_content`  | 同じ広告内のリンクを区別するために使用します。たとえば、同じメール本文に2つの行動喚起リンクがある場合、 `utm_content` を使ってそれぞれに異なる値を設定すれば、どのリンクがクリックされたかを識別できます。 | いいえ                |

</details>

4. を選択します。 **保存**.

   <div data-with-frame="true"><figure><img src="https://1458456015-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` アプリ内キャンペーンからのトラフィックと区別して、メールキャンペーンからのトラフィックを識別します。

カスタムキャンペーンURLは次のようになります。

`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/ja/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.
