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 URLsarrow-up-right on Google's help center.

  1. From the top navigation bar, select [User profile] → Settings.

  2. On the right, under Tracking, select Gateway.

  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.

chevron-rightParameters referencehashtag

There are 5 parameters you can add to your URLs.

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

  1. Select Save.

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

Last updated

Was this helpful?