LOG IN OR SIGN UP
Log in to your account
Sign up

How To Use Facebook Dynamic URL Parameters

09 July 2018 | 0 comments | Posted by Che Kohler in nichemarket Advice

How to use dynamic URL tracking parameters on your facebook ads

Note: 08 October 2018 Facebook has relaunched the dynamic URL parameter function with a Build a URL Parameter function making it even easier to create dynamic tracking URLs

Note: Facebook recently removed this feature from its ad platform as it produced unreliable data. It looks to be in reworks and we will keep you posted once it's live again.

Social media management has become an increasingly competitive field and since the release of the business.facebook suite and the ads.facebook suite within it the options for reaching users has expanded tremendously over the last 5 or so years. Having all these options are great for marketers as they can target users in various places on Facebook and with the adsuite, they are able to create multiple campaign variants to test out which messaging and concepts appeal more to their audience.

Cam-pain tracking

Facebook ad campaigns can be a powerful tool for your marketing efforts but when you have to combine it with your external site's analytics and performance it can quickly become messy if you do not employ good housekeeping.

In order for Google Analytics to properly attribute traffic and to classify various campaigns, you need to make use of UTM tracking. While helpful it is a seriously manual process and can lead to plenty of human error. You can make use of URL builders online or create one for yourself in excel but it still requires you to manually upload them into each campaign you create on Facebook.

Dynamic tracking

If you're a social media manager that specialises in performance, you'll know exactly how painful and time-consuming creating and tracking campaigns can be. Thankfully Facebook has made it easier to track your campaigns with the help of dynamic URL parameters.

URL parameters make it easy to categorize and understand the effectiveness of your ads. For example, you can use URL parameters to identify where your ad traffic is coming from and which ads helped drive a conversion.

Insights from URL parameters can show which link people clicked to get to your ad's destination, like to your website or Facebook Page.

Facebook offers you the following URL dynamic query strings which you can mix and match however you please

  • source - {{site_source_name}}
  • placement - {{placement}}
  • ad_id - {{ad.id}}
  • adset_id - {{adset.id}}
  • campaign_id - {{campaign.id}}
  • ad_name - {{ad.name}}
  • adset_name - {{adset.name}}
  • campaing_name - {{campaign.name}}

These parameters will automatically pull in campaign details you specify, add it to your UTM tracking and push it through to your Google Analytics.

How to use facebook dynamic tracking

You can add URL parameters to your Facebook ads during the ads creation workflow. URL parameters can be placed on ads that link to destinations off Facebook, such as your website, or on ads that promote existing Facebook posts.

If you're adding URL parameters to an existing Facebook post and it links to a website URL off of Facebook, your URL parameters will only apply to URL clicks on the ad and not on clicks that may happen if someone sees the post organically and clicks a link.

To get the best out of dynamic URL parameters you need to define which UTM parameters you will keep static and which ones you would like to be dynamically updated. Below is an example of how we use dynamic parameters

Facebook tracking

Where to fill in your dynamic URLs during the campaign creation process

Campaign Source - Static - Facebook

Campaign Medium - Static - cpc

Campaign Name - {{adset.name}}{{ad.name}}

Campaign Content - {{placement}}{{campaign.name}}

Save time on your tracking

Hopefully, this makes your life a lot easier and wasting time adjusting naming conventions and help you have more consistent tagging and cleaner data going forward.

Contact us

If you want to know more about social media marketing, don’t be shy we’re happy to assist. Simply contact us here

Recommended reads

If you enjoyed this post, you might also like: The 3 Vital Social Media Roles

Tags: facebook, Social Media

Previous: {{ previousBlog.sTitle }}

Posted {{ previousBlog.dtDatePosting }}

Next: {{ nextBlog.sTitle }}

Posted {{ nextBlog.dtDatePosting }}

You might also like

How grassroots football helps communities in SA

How SA Football Coaches Are Transforming Communities

06 November 2024

Posted by Daniel D Denev in Athletes


Grassroots coaches are making a difference in SA communities by nurturing young talent, instilling values, and creating opportunities for the next ge...

Read more
How blockchain fits into the future of finance

Is Blockchain The Future Of Finance?

05 November 2024

Posted by Josh Welman in Money Talks


An introduction to blockchain technology and distributed ledgers and why they are becoming a popular option for transacting value in our modern globa...

Read more

Leave us a comment


{{comment.sUserName}}

{{comment.iDayLastEdit}} day ago

{{comment.iDayLastEdit}} days ago

{{comment.sComment}}

Sign up for our newsletter