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

目的の URL にキャンペーン パラメータを追加することで、広告キャンペーンに関する情報を収集できます。この方法を使えば、さまざまなソーシャル メディア アプリ間でキャンペーンを追跡できるだけでなく、広告のメール版や動画版も追跡できます。

ユーザーが紹介リンクをクリックすると、追加したパラメータは Google アナリティクスに送信され、関連データは Google アナリティクスのキャンペーン レポートで確認できます。詳細については、 [カスタム URL を使用したキャンペーン データの収集について](https://support.google.com/analytics/answer/1033863) ![](/files/c4d6dc2d65c24c52027c00400dbaede76817737e) Google のヘルプセンターをご覧ください。

1. 上部のナビゲーションバーで、次を選択します ![](/files/2c38195ecc23a36266a65082c4bfc52f44a43503) **\[ユーザープロフィール] → 設定**.
2. 右側の *トラッキング*の下の **Gateway**.
   * 詳細については、 [ゲートウェイ トラッキング設定の構成](/brand/ja/nitsuitebitaidesuka/account-administration/program-settings/tracking-settings/configure-gateway-tracking-settings.md).
3. 以下に *パートナートラッキングテンプレート*、パートナー リンクに自動的に追加する UTM パラメータを追加します。利用可能なパラメータの詳細については、以下の *パラメータ リファレンス* を参照してください。

<details>

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

5 つのパラメータがあります [URL に追加できます](/brand/ja/nitsuitebitaidesuka/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: 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:

```
GET https://help.impact.com/brand/ja/nitsuitebitaidesuka/platform-features/tracking/set-up-tracking/collect-campaign-data-with-google-analytics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
