Connect X Ads

Connect your X ad accounts so Clakta reads your campaigns and spend, then add the tracking key to your ads by hand.

Connecting X Ads brings your campaigns and daily spend into Clakta. You add the tracking key to your X ads by hand, because X doesn't let Clakta change your ad links.

Connect

  1. Go to Project settings → Ad accounts.
  2. Choose X Ads, then Connect account.
  3. Click Connect with X. An X window opens.
  4. Sign in and allow access to your ad accounts.

A message tells you how many accounts were connected.

Connect an account you don't have access to

In the connect window, choose Share link and send the link to whoever manages the X Ads account. They open it, click Continue with X Ads and allow access, without a Clakta login. The link works for one hour and only once.

Tag your X ads

On the Ad accounts page, open Set up UTMs for the account. The Manual tab lists four parameters, each with its own copy button. Then:

  1. In X Ads Manager, open the ad and edit its post.
  2. Find the Custom parameters of its website URL.
  3. Add each parameter below as its own name and value, and save.
NameValue
clktx:{{site_source}}
clkt_campaign{{campaign_id}}
clkt_adset{{adgroup_id}}
clkt_ad{{ad_id}}

X accepts only one dynamic variable per parameter, so the ids are split across four parameters. X fills them in on every click, and Clakta joins them back together.

Add the parameters to every new ad. An untagged ad spends money without any conversion Clakta can credit.

Check it works

Click one of your live X ads and look at the address bar of the page that opens. You should see clkt_campaign, clkt_adset and clkt_ad with real ids. If you see a variable in braces, such as {{campaign_id}}, X didn't fill it in: check that the parameter holds only that variable, spelled as in the table.

Problems

Related articles