# Collect Campaign Data with Google Analytics

You can collect information about your ad campaigns by adding campaign parameters to the destination URLs you use. In this way, you can track your campaign across different social media apps, as well as track the email or video versions of the ads.

When a user clicks a referral link, the parameters you've added are sent to Google Analytics, and the related data is available in the Google Analytics campaign reports. Learn more about [collecting campaign data with custom URLs](https://support.google.com/analytics/answer/1033863) ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-1ab546ef5205b558edc370fc930f0bcbd5500f28%2F14d4634ff37b6478b900d0e3f5d89a3cc35a1a673611cb2d2f40cd7cf208261a.svg?alt=media) on Google's help center.

1. From the top navigation bar, select ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-1183576591b45997efe4dc81a25024640591d02a%2F245137dc972a7a7f6165b59538fcdbac8fd5bd8fee4ba9f20c1a2982c5b58b57.svg?alt=media) **\[User profile] → Settings**.&#x20;
2. On the right, under *Tracking*, select **Gateway**.
   * Learn more about [configuring gateway tracking settings](https://help.impact.com/brand/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/configure-gateway-tracking-settings).
3. Below *Partner Tracking Template*, add the UTM parameters that you want to automatically append to your partner links. Refer to the *Parameters reference* below for details about the available parameters.

<details>

<summary>Parameters reference</summary>

There are 5 parameters [you can add to your URLs](https://help.impact.com/brand/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/gateway-tracking-templates).

| Parameter      | Description                                                                                                                                                                                                                               | Required by Google Analytics? |
| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- |
| `utm_source`   | Used to identify the advertiser, site, publication, etc. that is sending traffic to your property, for example: impact.com, billboard.                                                                                                    | Yes                           |
| `utm_medium`   | The advertising or marketing medium, for example: cpc, banner, email newsletter.                                                                                                                                                          | Yes                           |
| `utm_campaign` | The individual campaign name, slogan, promo code, etc., for a product.                                                                                                                                                                    | Yes                           |
| `utm_term`     | Identify paid search keywords. If you're manually tagging paid keyword campaigns, you should also use `utm_term` to specify the keyword.                                                                                                  | No                            |
| `utm_content`  | Used to differentiate links within the same ad. For example, if you have two call-to-action links within the same email message, you can use `utm_content` and set different values for each so you can tell which links were clicked on. | No                            |

</details>

4. Select **Save**.

   <div data-with-frame="true"><figure><img src="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-136621269acac57c965d8ac5808c919a785b92c4%2Faf415cdd46dfcc0494532e5d6976ad93a7b1bdecfeb71932c8865fa92f165c39.png?alt=media" alt=""><figcaption></figcaption></figure></div>

#### Example

Dunder Mifflin Paper Company is running a spring promotional campaign, and they use the following parameters to identify their traffic:

* `utm_campaign = spring-2024` to identify the overall campaign.
* `utm_source = spring2024-mailer` to identify traffic that results from your email campaign.
* `utm_medium = email` to identify traffic from the email campaign vs. the in-app campaign.

Your custom campaign URL would be:

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