Understanding click-id resolution (Meta fbclid, Google gclid, TikTok ttclid)
Learn how Metrikia automatically resolves ad click identifiers (fbclid, gclid, ttclid) into concrete ad data to calculate your real ROAS per individual ad.
Goal
Understand why Metrikia links ad clicks (fbclid, gclid, ttclid) to specific ads, and how to enable this on your Meta and TikTok accounts.
Why it matters: Without click-id resolution, your attribution is partial. You see that a lead came from "Meta paid_social" but not from which campaign or ad. Click-id resolution connects each touchpoint to its exact ad, adset, and campaign.
Prerequisites
- Meta Ads, Google Ads, or TikTok Ads integration connected (/app/settings > Integrations)
- Metrikia pixel deployed on your landing pages (automatically captures fbclid/gclid/ttclid)
- At least one campaign sync completed
How resolution works
1. Click-id capture by the pixel
When a visitor clicks an ad, the platform appends a parameter to the URL:
- Meta Ads:
?fbclid=AZX... - Google Ads:
?gclid=CjwK... - TikTok Ads:
?ttclid=Cg...
The Metrikia pixel reads these parameters and stores them with each touchpoint.
2. Async resolution via Marketing APIs
In the background, Metrikia queries the platforms' APIs to resolve each click-id:
| Platform | API queried | Typical resolution rate |
|---|---|---|
| Google Ads | click_view resource (GAQL) | 95-99% (90-day lookback) |
| Meta Ads | /{ad_account}/ads (tracking_specs) | 60-80% (best-effort) |
| TikTok Ads | Reporting API (ttclid filter) | 70-90% (90-day lookback) |
3. Touchpoint enrichment
Once the ad is found, Metrikia links the touchpoint to the full hierarchy: Campaign > Adset > Ad
This enables ROAS, CPL, and profit reporting at the individual ad level.
Known limitations
Meta fbclid (best-effort)
Meta does not expose a direct fbclid-to-ad lookup. Resolution searches for ads with fbclid={{fbclid}} in their tracking_specs. If your ads do not include this parameter in the destination URL, resolution will not work.
Check: In Meta Business Manager > Ads > URL Parameters, make sure fbclid={{fbclid}} is in your tracking parameters.
TikTok ttclid
Requires the ad account to have event tracking enabled. Ads with external attribution only are not covered.
30-day cache
Once a click-id is resolved, the result is cached for 30 days. Failures are cached for 24 hours (retry window). No action needed on your side.
Backfill: resolving old touchpoints
If you have historical touchpoints without an ad_id, Metrikia processes them automatically on the next sync. To force immediate resolution, contact support.
Common issues
"My Meta ads have 0% resolution"
Check that the fbclid={{fbclid}} parameter is present in your ad destination URL. Without this marker, Meta does not include the click-id in tracking_specs.
"Google resolves but not TikTok"
Check that your TikTok account has event tracking enabled in TikTok Business Manager.
"Resolution is slow"
Resolution is asynchronous (background). New touchpoints are resolved within minutes to a few hours depending on queue depth.
To go further, check out our blog, the documentation or contact support.