Tag your ad URLs

The clkt tracking key is what lets Clakta match a click to a sale. Apply it automatically on Meta and Google, or by hand on TikTok.

Connecting an ad account gets you spend and campaign structure. It does not get you attribution. For that, every ad has to carry the Clakta tracking key in its URL so the click can be identified when the visitor lands on your site.

This is the step people skip, and it is why an account can show plenty of spend and zero attributed conversions.

What the key looks like

One URL parameter, five colon-separated segments:

clkt={platform}:{source}:{campaignId}:{adSetId}:{adId}

You never type the ids yourself — you paste a template full of the platform's own macros, and the platform substitutes real values on every click:

PlatformTemplate
Metaclkt=fb:{{site_source_name}}:{{campaign.id}}:{{adset.id}}:{{ad.id}}
Googleclkt=google:{network}:{campaignid}:{adgroupid}:{creative}
TikTokclkt=tiktok:__PLACEMENT__:__CAMPAIGN_ID__:__AID__:__CID__

Google has no ad set concept, so its ad group id fills that segment.

Automatic setup (Meta and Google)

Once the account is connected, Clakta can write the parameter into your ads for you.

  1. Go to Project settings → Ad accounts.
  2. Find the account and choose Set up UTMs.
  3. The dialog lists every eligible ad (Meta) or ad group (Google), with a Tracking column showing which are already configured.
  4. Select the ones you want — or Select all — and click Set up UTMs.

Clakta writes the key into the ad's url_tags on Meta, and into the ad group's final URL suffix on Google. The UTMs configured count on the ad accounts list tells you your coverage at a glance.

Re-run this after every launch. New ads created after the last run are not tagged, and an untagged ad is invisible to attribution no matter how well it performs.

Manual setup

Use the Manual tab in the same dialog to copy the exact key for your account, then:

TikTok has no automatic option: its API does not expose a writable URL-parameter field, so it has to be done by hand.

It coexists with your UTMs

The clkt key is a separate parameter. Keep your existing utm_source, utm_medium and utm_campaign exactly as they are — Clakta stores them alongside and reports on them. Append clkt rather than replacing anything.

Verifying

Click one of your own live ads and look at the address bar on the landing page. You should see a resolved clkt value with real numeric ids:

https://shop.example.com/?clkt=fb:facebook:120210000000:120211111111:120212222222

If you see the literal macro text instead of numbers, the parameter went into a field the platform does not substitute macros in.

Then complete a test order and check its tracking details in Orders — the platform, campaign, ad set and ad should all be populated.

Troubleshooting

Related articles