Skip to content
UTMCAP

Social traffic source

Track Facebook / Meta Ads with UTMCAP

Meta’s URL parameters use double braces with a dot, like {{campaign.id}}, and Meta puts no cost on the click. UTMCAP sends each conversion back through Meta’s Conversions API, matched on fbclid, so its optimiser learns which clicks paid; the spend connector is built and waiting on Meta’s approval.

Your tracking URL

This is the URL UTMCAP builds for a Facebook / Meta Ads campaign. Yours has your own tracking domain and campaign in place of the example — copy it from the campaign, not from here.

https://track.example.com/spring-sale?sub1={{campaign.id}}&sub2={{campaign.name}}&sub3={{adset.id}}&sub4={{adset.name}}&sub5={{ad.id}}&sub6={{ad.name}}&sub7={{placement}}&sub8={{site_source_name}}

What each macro records

Facebook / Meta Ads replaces each macro with the real value when the ad is clicked, and UTMCAP stores it in the matching field — so reports can be grouped by campaign, placement or device.

FieldWhat it recordsFacebook / Meta Ads macro
sub1Campaign ID{{campaign.id}}
sub2Campaign Name{{campaign.name}}
sub3Adset ID{{adset.id}}
sub4Adset Name{{adset.name}}
sub5Ad ID{{ad.id}}
sub6Ad Name{{ad.name}}
sub7Placement{{placement}}
sub8Site Source Name{{site_source_name}}
sub10Meta click ID (fbclid)added by Facebook / Meta Ads itself

Worth knowing

Double-brace macros with a dot. Meta passes no cost macro.

Macros from Facebook / Meta Ads’s own documentation.

How conversions get back to Facebook / Meta Ads

Spend lives in the Marketing API. Conversions go back through the Conversions API, which wants hashed user data and an access token — a postback URL will not do it.

Set it up in three steps

  1. 1. Add Facebook / Meta Ads as a traffic source in UTMCAP and choose its template — the macros above are filled in for you.
  2. 2. Create a campaign with that source, and copy its tracking URL.
  3. 3. Paste it into Facebook / Meta Ads as the ad’s click or destination URL.

Every field of the traffic source form is explained in the traffic sources guide.

Point a domain at us and run a click through it.

The free plan takes a hundred thousand clicks a month and no card. If it does not do what you need, you have lost twenty minutes.