• UTM Knowledge base
  • Support
  • About UTM Star
  • English
  • Dutch
  • Skip to primary navigation
  • Skip to main content
  • Skip to footer
UTMStar

UTMStar

  • Home
  • Features & packages
  • About UTM codes
    • What are UTM codes?
    • UTM Tag Manager
    • UTM code generator
    • How to setup UTM codes for Facebook ads
  • Login
  • Sign up

How to setup UTM codes for Facebook ads

You are here: Home / Social / How to setup UTM codes for Facebook ads

UTM tracking is crucial if you’re looking for detailed insights into your campaigns within Facebook Ad Manager. Google Analytics may give you an overview of your Facebook and social traffic, but it won’t give you detailed and distinctive data if UTM tracking isn’t in place. This makes analysing your campaigns almost impossible without. If you’re after more accurate data, then setting up UTM codes for Facebook ads is key.

Fortunately, Facebook gives you the ability to add UTM codes within Facebook Ad Manager. This can be done either manually or dynamically. In this article, we’ll help you to apply both, as well as give you some useful tips on how to get a deeper understanding of your UTM campaigns.

Manual vs. dynamic UTM codes

Manually setting your UTM parameters can be a time-consuming task and is prone to errors. UTM parameters are case sensitive, so even using an uppercase letter instead of lowercase can result in your data being unnecessarily split in Google Analytics.

Using dynamic UTM parameters, on the other hand, can provide you with more insight and is less error-prone.

Facebook can indicate in the campaign source, whether the traffic originated from Facebook, Instagram, Facebook Messenger or the Facebook Audience Network. This is useful information, especially when it comes to further optimization of your Facebook Ads.

Overview of the dynamic UTM parameters used by Facebook Ads

Below you’ll find an overview of the dynamic UTM codes for Facebook ads.

Facebook dynamic parameterValue of the source corresponds to the UTM valuesDescriptive statisticsExample
{{ad.id}}yesno23845917166800246
{{adset.id}}yesyno23845917166800246
{{campaign.id}}yesno23845917166800246
{{ad.name}}not always*yesmy_ad
{{adset.name}}not always*yesmy_adset
{{campaign.name}}not always*yesbest_campaign
{{placement}}yesyesfacebook_desktop_feed, facebook_mobile_feed, Instagram_feed, Instagram_stories
{{site_source_name}}yesyesfb (facebook), ig (instagram), an (facebook audience network), msg (facebook messenger)

*Changing the ad, ad set, or campaign name in Facebook Ad Manager afterwards, does not affect the dynamic name assigned at the beginning.

Combining dynamic and static parameters for additional structure

Campaigns are often rolled out across multiple channels and Facebook is just one aspect of this. For consistency, it’s important to use the same campaign name for your UTMs across all of your channels (Facebook, LinkedIn, Email, Offline etc.).

It’s important to remember that if your medium is ‘social’, it would suggest that the traffic is organic. If you’re working with advertisements, then it is wise to use ‘social_ads’ as a medium. This makes it clear that these are advertisements.

UTM Star recommends using the following setup when it comes UTM Tracking for Facebook Ads:

  • Campaign source: {{site.source.name}}
  • Campaign medium: social_ads
  • Campaign name: your_campaign_name
  • Campaign content: {{placement}}
  • Term: {{adset.name}}

* Static parameters in red

Setting UTM parameters for campaigns within Facebook Ad Manager

Setting UTM parameters in Facebook Ad Manager is simple. Follow the steps below to get started:

  1. Select or create a campaign and go the ‘ad level’

    The structure in Facebook Ads

  2. Create a new ad or select an existing one

  3. Scroll down and click on ‘build a UTM parameter’

    Facebook ads build URL parameter

  4. Add the UTM parameters manually or use dynamic UTM parameters

    Yous the UTM Star setup as mentioned before for the best performance. You can copy the campaign name from your UTM Star dashboard.
    Facebook ads add UTM codes

Now that you know exactly how UTM codes for Facebook ads work, you can start to implement them.

Struggling with UTM parameters or have any other questions? Our team at UTM star will be happy to help. Get in touch here.

Ready to become a UTM Star?

 

Save time and easily share the performance with your coworkers

 

☆ Start now View all features

Footer

UTM Star

UTM Star helps you manage, create and follow UTM codes. All in one handy tool.

UTM Star uses Stripe for secure payments UTM Star is DMARC comliant UTM Star uses secured transfers

The application is regularly updated and provided with new functionalities.

UTM Star  UTM Star

  • UTM Tracking
  • The UTM Tag Manager
  • UTM code generator
  • Features & packages
  • Knowledge Base
  • About UTM Star
  • Contact
  • Grilled

© 2023 · Privacy Policy · Made with ♥ in Hilversum by www.grilled.nl

  • English
  • Dutch