> 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 Analytics に送信され、関連データは Google Analytics のキャンペーン レポートで確認できます。詳細については、 [カスタム URL を使用したキャンペーン データの収集](https://support.google.com/analytics/answer/1033863) ![](/files/c4d6dc2d65c24c52027c00400dbaede76817737e) Google のヘルプセンターをご覧ください。

1. 上部ナビゲーションバーで、次を選択します ![](/files/173ecabf39fd91e83f3ac16fba44d8e9c845708d) **\[ユーザープロフィール] → 設定**.
2. 右側の *トラッキング*、選択します **ゲートウェイ**.
   * について詳しく学ぶ [ゲートウェイ トラッキング設定の構成](/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 Analytics で必須ですか？ |
| -------------- | ---------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| `utm_source`   | あなたのプロパティにトラフィックを送信している広告主、サイト、媒体などを識別するために使用します。例: impact.com、billboard。                                              | はい                       |
| `utm_medium`   | 広告またはマーケティングの媒体。例: cpc、banner、メールニュースレター。                                                                              | はい                       |
| `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.
