Facebook Ads
Setting up your Facebook Ads URL tagging for attribution and reporting drill down
Quick solution (for Meta pros)
The below parameters must be used in a destination URL within an ad setup.
Supported UTM Fields | Supported Values |
---|---|
utm_source | Facebook, facebook, fb |
utm_medium | paid, ppc, cpc |
utm_campaign | {{campaign.name}} |
utm_term | Not Applicable for Meta |
utm_content | {{ad.name}} |
campaign_id | {{campaign.id}} |
ad_group_id | {{adset.id}} |
ad_id | {{ad.id}} |
keyword_id | Not Applicable for Meta |
This should result in the final query string in the URL looking as below:
?utm_source=facebook&utm_medium=paid&utm_campaign={{campaign.name}}&utm_content={{ad.name}}&campaign_id={{campaign.id}}&ad_group_id{{adset.id}}&ad_id={{ad.id}}
Please note using any non standard values in your tracking templates or UTMs can lead to incorrect attribution or limitations on your report drill downs within Ruler. If you have any concerns or issues please reach out to a member of the team who will be glad to offer advice.
Please read the detailed walkthrough for step by step implementation guidance.
Detailed walkthrough
Unlike similar platforms, the Meta Advertising platform only enables you to implement utm tracking for each specific ad, not by account or campaign.
This may mean for large accounts, changing each destination URL to have utm parameters appended may be a time consuming task. Unfortunately, due to limitations of the Meta platform user interface, there is no ability to perform bulk actions.
In your Meta Ads Manager, go to campaigns:
Go to Ads:
Then hover over an ad, then click edit, this will open the ad level settings.
It is important you are in the correct level of menu. Meta has three hierarchical scopes for ads: campaign, ad set and ads. You can only update the landing page URL information at the ad level, not in any of the above levels.
Scroll down to the ‘Tracking’ section. Then click on ‘Build a URL parameter’
In here you can enter your main UTM parameters. 'Campaign source' will be translated to 'utm_source', 'Campaign medium' will become 'utm_medium' and 'Campaign_name' will become 'utm_campaign'.
To allow for Ruler’s reporting to work best for you, you need to send us some extra parameters in the URL: adgroup_id, ad_id and campaign_id
To do this, you need to add custom parameters to the URL that map to these required parameters.
Key | Value |
---|---|
ad_group_id | {adset.id}} |
campaign_id | {{campaign.id}} |
ad_id | {{ad.id}} |
The result should look like the below:
With the tracking URL set to (in the above example):
?utm_source=Facebook&utm_medium=paid&utm_campaign={{campaign.name}}&utm_content={{ad.name}}&campaign_id={{campaign.id}}&ad_group_id{{adset.id}}&ad_id={{ad.id}}
Publish the ad to make these changes live.
Meta does not provide a means of testing these URLs, so you will need to click on a live ad to ensure this is functioning as you expect.
Repeat the process for all live ads in your Meta ads manager.
If you need any additional support in setting up your UTM parameters to to be optimised between Facebook and Ruler Analytics, please contact [email protected].
Updated 7 days ago