> 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) ![](/files/c4d6dc2d65c24c52027c00400dbaede76817737e) Google のヘルプセンターをご覧ください。

1. 上部ナビゲーションバーから、 ![](/files/173ecabf39fd91e83f3ac16fba44d8e9c845708d) **\[ユーザープロフィール] → 設定**.
2. 右側の *Tracking*、選択します **Gateway**.
   * 詳細はこちら： [ゲートウェイ トラッキング設定の構成](/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 に追加できます](/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、バナー、メールニュースレター。                                                                                   | はい                    |
| `utm_campaign` | 製品の個々のキャンペーン名、スローガン、プロモーション コードなど。                                                                                       | はい                    |
| `utm_term`     | 有料検索キーワードを識別します。有料キーワード キャンペーンを手動でタグ付けする場合は、 `utm_term` も使用してキーワードを指定してください。                                             | いいえ                   |
| `utm_content`  | 同じ広告内のリンクを区別するために使用します。たとえば、同じメール メッセージ内に 2 つの CTA リンクがある場合、 `utm_content` を使用し、それぞれに異なる値を設定することで、どのリンクがクリックされたかを把握できます。 | いいえ                   |

</details>

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

   <div data-with-frame="true"><figure><img src="/files/b96bd1c91748c5068cf0434b4c45503b31a3e56f" 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 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/ja/what-would-you-like-to-learn-about/platform-features/tracking/set-up-tracking/collect-campaign-data-with-google-analytics.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.
