Meta URL parameters: macros and common errors

Updated by the UTM Builder team at Limner.

In Ads Manager, the UTM goes in the URL parameters field, in the ad’s Tracking section. Meta appends that field to the end of the website URL and replaces the macros with the real values at click time.

The official macros

Meta’s specifications page lists these macros (dynamic parameters):

A line that works as a starting point:

utm_source={{site_source_name}}&utm_medium=paid-social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}&utm_id={{campaign.id}}

Names freeze at publish time

Meta warns that name-based parameters use the campaign, ad set or ad name as it was when the item was first published. You can rename it later, but the URL keeps the original name for the whole life of that item. If the name is going to change, use the ID macro or lock in the name before publishing.

Common errors

Medium and channel in GA4

To land in Paid Social, the medium has to be recognized as paid, for example by starting with paid, and the source has to be on Google’s list of social sites. If the source isn’t recognized, the session goes to Paid Other. Test with a real click and check the report before you scale the budget.

Official sources