Help Center

| Submit or View Help Requests | Developer Docs |

View desktop instructions
View mobile app instructions
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 tracking 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 external-link-alt-solid.svg on Google's help center.

  1. From the left navigation menu, select ellipsis-v-solid.svg [Menu] → Settings.

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

  3. Next to Partner Tracking Template, select pencil-alt-solid.svg [Edit].

  4. 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.

    Parameters reference

    There are 5 parameters you can add to your URLs. The mandatory parameters are utm_sourceutm_medium, and utm_campaign. The parameters utm_term and utm_content are optional.

    Parameter

    Description

    utm_source

    Used to identify the advertiser, site, publication, etc. that is sending traffic to your property, for example: impact.com, billboard.

    utm_medium

    The advertising or marketing medium, for example: cpc, banner, email newsletter.

    utm_campaign

    The individual campaign name, slogan, promo code, etc. for a product.

    utm_term

    Identify paid search keywords. If you're manually tagging paid keyword campaigns, you should also use utm_term to specify the keyword.

    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.

  5. Select Save.

    63d7da6f78739.png

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

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.