Facebook introduces URL dynamic parameters

12. 9. 2018

Facebook has recently introduced dynamic URL parameters. A faster and “painless” way to track the efficiency of your Facebook campaigns. 

If you have been advertising on Facebook for some time now, you have seen discrepancies (clicks, purchase, etc.) between your Facebook reports and what you see in Google Analytics. Based on our research Google Analytics may misattribute up to 21% of Facebook Clicks.  The best way to ensure that you are tracking your marketing efforts as accurately as possible is by using UTM parameters in your Facebook Ads. Facebook had launched a Google Analytics URL builder to help us marketers create URLs tagged with special parameters. This possibility was also available at the ad level where you could fill in your parameters.

Facebook UTM parameters


Here you could add the values you wanted:

  1. utm_campaign=your campaign’s name
  2. utm_medium=cpc
  3. utm_source=facebook and so on.

The new update allows you to use the below dynamic parameters with your ads:

  1. ad_id={{ad.id}}
  2. adset_id={{adset.id}}
  3. campaign_id={{campaign.id}}
  4. ad_name={{ad.name}}
  5. adset_name={{adset.name}}
  6. campaign_name={{campaign.name}}

To use them, just navigate to the Ads level, after creating your Campaign and Ad Set, and scroll to the “Website URL” box. Below it, you will find the “Build a URL parameter” option.

build a Facebook URL parameterTo construct your website URL, you can use any of the Campaign source, Campaign medium, Campaign name and Campaign content.

Facebook build a URL -example

Fill in the information the way you’d normally do and make sure to use the dynamic parameters in the fields that makes sense to you.  The dynamic parameters will be replaced with their real values, so you will be able to see the campaign, Ad Set, or Ad that generated traffic or conversions.

In case your needs aren’t covered by these four parameters you can add custom parameters.

add custom URL parameters in facebook ads

A couple of things to have in mind:

  • You cannot combine two dynamic parameters in one field. For example, you cannot use {{campaign.name}} – {{adset.name}} for a Campaign name.
  • Parameters for placement are not supported. This means that you need to add them manually via a custom parameter.
  • Name-based parameters only pass along the name of Campaign, Ad Set, or Ad they had the time of the ad’s creation. Editing their name’s at a later time does not ensure that the change will be reflected in the final URL.
  • You cannot use dynamic URLs for app tracking.



In Business Factory, I work as a Facebook Marketing specialist helping both Czech and international clients to enhance their Facebook advertising efforts. For you, I wear my data-glasses and creative ideas-hat and share with you the tips, suggestions and tutorials that will help you step up your Facebook marketing game.


Latest posts

Launch of We Speak Digital

The current pandemic made many businesses start offering their products or services online which only surged the need for digital marketing skills in the Middle East. Dubai-based platform We Speak Digital was launched to support...