Add UTM parameters to your Meta ads
Add the UTM parameters below to the URL parameters field on each Meta ad, and Meta replaces the dynamic tokens with the real campaign, ad set, and ad values at serve time. PixelFlow then reads those values to label traffic source and campaign details in your event logs, which improves tracking and attribution.
Why do this?
Before: Events will show up with long strings of numbers in your PixelFlow attribution page
After: Events will show up with the exact campaign name, ad set name, and ad from Facebook.
Add the parameters in Ads Manager
Set the parameters in the ad's URL parameters box rather than appending them to the destination URL, so Meta attaches them cleanly to every click.
Open the ad in Ads Manager and click Edit, or add the parameters while creating the ad.
Scroll to the Tracking section and find the URL Parameters box.
Enter this code snippet into URL Parameters box:
utm_source=facebook&utm_medium=paid&utm_campaign={{campaign.name}}&utm_id={{campaign.id}}&utm_term={{adset.name}}&utm_content={{ad.name}}Publish the ad.
What this does:
Facebook replaces each of these values automatically so every visitor that visits has the real campaign, adset and ad name rather than long strings of numbers. It replaces them with this:
utm_campaignβ the campaign nameutm_idβ the campaign IDutm_termβ the ad set nameutm_contentβ the ad name
Important information:
This does not normally reset the learning phase, so you can add these parameters to live ads without restarting delivery.
Apply the parameters in bulk by selecting the ads and editing them together in the edit panel, instead of updating one ad at a time.
Campaign and ad ID tokens do not always populate on Audience Network placements, so expect some gaps in UTM values for that traffic slice.
See the parameters in your event logs
After publishing, open the event logs and check the Traffic Source view to confirm the Campaign Name, Campaign ID, Ad Set, Ad Name, and Medium captured for your ad clicks.
UTM parameters label where the traffic came from. For how Meta itself decides which campaign gets credit for an event, see How Meta Attributes Events to Ad Campaigns.
Once your tagged ads are running, open Attribution analytics to see which sources, campaigns, ad sets, and ads drive your events and revenue.