Ads on Meta, Google and more
One line to paste in Meta, Google, LinkedIn, TikTok and eight more, and a test for your ad link.
Running ads on Meta, Google, YouTube, TikTok, LinkedIn, X, Snapchat, Pinterest, Reddit, Bing, Spotify or Amazon? Paste one line in your ad once, and every campaign and ad shows up in Okidoki by name. You do not need to know what UTM tags are, and you do not need to make a new link for every ad.
#The short version
- In your dashboard, open Marketing → Tools and find Make a campaign link.
- Press the logo of the platform you advertise on.
- Copy the line and paste it where Okidoki tells you, in your ad tool.
- Paste the finished link in Test my ad link to check it before the ad goes live.
The line has the platform's own dynamic tags, like {{campaign.name}} on Meta. The ad tool swaps them for the real campaign and ad name every time someone clicks, so the line is the same for every ad.
LinkedIn, X, Spotify and Amazon get a whole link with the campaign name typed in, because they have no tags of that kind to paste. Make a new link for each campaign there.
Not signed in? The same tool is free for anyone at okidoki.sh/tools/utm-builder.
#Even without tags
Most ad platforms add a click ID to the link by themselves, like gclid from Google. Okidoki recognises them and counts the visit as an ad from that platform, even when you forgot the tags. You then see the platform, but not the campaign.
| Click ID | Platform | Counts as |
|---|---|---|
gclid | Google Ads | google, Paid |
gbraid | Google Ads | google, Paid |
wbraid | Google Ads | google, Paid |
dclid | Google Display | google, Paid |
msclkid | Microsoft Advertising (Bing) | bing, Paid |
fbclid | Facebook or Instagram | facebook, Social |
ttclid | TikTok ads | tiktok, Paid |
ScCid | Snapchat ads | snapchat, Paid |
epik | Pinterest ads | pinterest, Paid |
rdt_cid | Reddit ads | reddit, Paid |
twclid | X ads | x, Paid |
li_fat_id | LinkedIn ads | linkedin, Paid |
Okidoki only looks at the name of the click ID. The code in it is thrown away and never stored, so it cannot be used to follow a person. Meta adds fbclid to ordinary posts too, so a visit with only fbclid counts as Facebook in Social, not as an ad.
#Per platform
#Meta
In Meta Ads Manager, paste the line in URL parameters. Open the ad, go to Destination (or Tracking), and paste it in URL parameters under the website URL.
utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}&utm_term={{adset.name}}Meta Ads Manager fills in the campaign and ad names by itself when someone clicks. Nothing else to do.
Meta adds fbclid to every click, so Okidoki already sees Facebook and Instagram visits, but not which campaign. Meta Ads Manager help
In Google Ads, paste the line in Final URL suffix. For all ads at once: Admin, Account settings, Tracking, Final URL suffix. For one campaign: the campaign settings, Campaign URL options, Final URL suffix.
utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_content={creative}&utm_term={keyword}Google Ads has no tag for the campaign name, so campaigns show up as numbers. To see your own name, type it in Make a campaign link under Marketing → Tools (or pass campaign to the API) and paste that line for that campaign only.
Google adds gclid to every ad click when auto-tagging is on, so Okidoki already counts these visits as Google ads, but not which campaign. Google Ads help
#YouTube
In Google Ads, paste the line in Final URL suffix. YouTube ads are made in Google Ads. Open the video campaign, go to Campaign URL options, and paste it in Final URL suffix.
utm_source=youtube&utm_medium=cpc&utm_campaign={campaignid}&utm_content={creative}Google Ads has no tag for the campaign name, so campaigns show up as numbers. To see your own name, type it in Make a campaign link under Marketing → Tools (or pass campaign to the API) and paste that line for that campaign only.
Google adds gclid to YouTube ad clicks when auto-tagging is on, so Okidoki counts them as Google ads, but cannot tell them from search ads. Google Ads help
#TikTok
In TikTok Ads Manager, paste the line in Build URL parameters. In the ad, under Ad details and Destination, press Build URL parameters and paste it there.
utm_source=tiktok&utm_medium=paid_social&utm_campaign=__CAMPAIGN_NAME__&utm_content=__CID_NAME__&utm_term=__AID_NAME__TikTok Ads Manager fills in the campaign and ad names by itself when someone clicks. Nothing else to do.
TikTok adds ttclid to ad clicks, so Okidoki already counts these visits as TikTok ads, but not which campaign. TikTok Ads Manager help
In LinkedIn Campaign Manager, use the whole link as Destination URL. In the ad, paste the whole link as the destination URL.
https://mysite.com/?utm_source=linkedin&utm_medium=paid_social&utm_campaign=spring-salePut the campaign name in the link, like spring-sale above, and make a new link for each campaign. Or let LinkedIn do it: in Campaign Manager, add URL tracking parameters to the campaign and pick Campaign name as the dynamic value for utm_campaign. Make a campaign link under Marketing → Tools, the API (campaign) and the free UTM builder make the link for you.
LinkedIn adds li_fat_id to ad clicks when its conversion tracking is on. Without tags, most LinkedIn ad visits look like ordinary LinkedIn visits. LinkedIn Campaign Manager help
#X
In X Ads, use the whole link as Website URL. In the ad, paste the whole link as the website URL.
https://mysite.com/?utm_source=x&utm_medium=paid_social&utm_campaign=spring-saleX does not fill in campaign names by itself. Put the campaign name in the link, like spring-sale above, and make a new link for each campaign. Make a campaign link under Marketing → Tools, the API (campaign) and the free UTM builder make the link for you.
X adds twclid to ad clicks when its conversion tracking is on. Without tags, most X ad visits look like ordinary visits from X. X Ads help
#Snapchat
In Snapchat Ads Manager, use the whole link as Website URL. In the ad, under the attachment, paste the whole link in Website URL.
https://mysite.com/?utm_source=snapchat&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{creative.name}}&utm_term={{adSet.name}}Snapchat Ads Manager fills in the campaign and ad names by itself when someone clicks. Nothing else to do.
Snapchat adds ScCid to ad clicks, so Okidoki already counts these visits as Snapchat ads, but not which campaign. Snapchat Ads Manager help
In Pinterest Ads Manager, use the whole link as Destination URL. In the ad (the Pin), paste the whole link as the destination URL.
https://mysite.com/?utm_source=pinterest&utm_medium=paid_social&utm_campaign={campaign_name}&utm_content={adid}&utm_term={ad_group_name}Pinterest Ads Manager fills in the campaign and ad names by itself when someone clicks. Nothing else to do.
Pinterest adds epik to ad clicks, so Okidoki already counts these visits as Pinterest ads, but not which campaign. Pinterest Ads Manager help
In Reddit Ads, use the whole link as Destination URL. In the ad, paste the whole link as the destination URL. Reddit does not let you change it after the ad goes live.
https://mysite.com/?utm_source=reddit&utm_medium=paid_social&utm_campaign={{CAMPAIGN_ID}}&utm_content={{AD_NAME}}&utm_term={{ADGROUP_NAME}}Reddit Ads has no tag for the campaign name, so campaigns show up as numbers. To see your own name, type it in Make a campaign link under Marketing → Tools (or pass campaign to the API) and paste that line for that campaign only.
Reddit adds rdt_cid to ad clicks when its conversion tracking is on. Without tags, most Reddit ad visits look like ordinary Reddit visits. Reddit Ads help
#Microsoft
In Microsoft Advertising, paste the line in Final URL suffix. In Microsoft Advertising, open the campaign settings, then Campaign URL options, and paste it in Final URL suffix.
utm_source=bing&utm_medium=cpc&utm_campaign={Campaign}&utm_content={AdGroup}&utm_term={keyword}Microsoft Advertising fills in the campaign and ad names by itself when someone clicks. Nothing else to do.
Microsoft adds msclkid to ad clicks when auto-tagging is on, so Okidoki already counts these visits as Bing ads, but not which campaign. Microsoft Advertising help
#Spotify
In Spotify Ads Manager, use the whole link as Click-through URL. In the ad, paste the whole link as the address the ad opens when someone taps it.
https://mysite.com/?utm_source=spotify&utm_medium=audio&utm_campaign=spring-saleSpotify does not fill in campaign names by itself. Put the campaign name in the link, like spring-sale above, and make a new link for each campaign. Make a campaign link under Marketing → Tools, the API (campaign) and the free UTM builder make the link for you.
Spotify adds no click ID, so without tags these visits look like ordinary visits from Spotify, or like someone typed the address. Spotify Ads Manager help
#Amazon
In Amazon DSP, use the whole link as Click-through URL. In the creative, paste the whole link as the click-through URL. Only Amazon DSP ads can lead to your own site. Sponsored Products and Sponsored Brands lead to Amazon, so they never reach Okidoki.
https://mysite.com/?utm_source=amazon&utm_medium=display&utm_campaign=spring-salePut the campaign name in the link, like spring-sale above, and make a new link for each campaign. Make a campaign link under Marketing → Tools, the API (campaign) and the free UTM builder make the link for you.
Amazon adds no click ID to links to your site, so without tags these visits look like someone typed the address. Amazon DSP help
#Podcasts, influencers, QR codes and print
Press Other link in Make a campaign link. Pick what it is, name it, type the campaign name, and copy the finished link. It uses the standard UTM tags:
| What | utm_source | utm_medium |
|---|---|---|
| Podcast | the podcast's name | audio |
| Influencer | who posts it | social |
| QR code | qr, or where the code is | offline |
print, or where it is printed | offline | |
| Newsletter | newsletter, or its name | email |
| Partner site | the site's name | referral |
#Test my ad link
Paste the whole link from your ad, or only the tags, in Test my ad link on the Campaigns page. Okidoki tells you in plain words how the visits will be counted, for example as the campaign "spring-sale", from facebook, in the channel Paid, and what to fix:
- No tags at all, so visits would look like someone typed the address.
- A link to another site than yours.
- Two question marks in the link, which cuts off the tags.
- A missing campaign name or medium, so the visits do not count as Paid.
- A page that sends visitors on to another address and loses the tags on the way.
- A page where Okidoki is not installed.
Nothing you test is stored. The same check is in the API (GET /api/v1/sites/:site/ad-link-test?url=...) and in MCP as test_ad_link, so an agent can check a link for you.
#Good to know
- Okidoki never sends anything to your ad accounts. On Plus it can fetch what each campaign cost from Google Ads, Microsoft Ads, Meta, TikTok, Snapchat, Pinterest, LinkedIn and Reddit, or you add it yourself, to see cost per goal and return on ad spend, and why the platforms' purchases differ from the shop's. See Campaigns.
- Use the same campaign name every time.
Springandspringcount as two campaigns. - For posts, newsletters and print, use the campaign link builder instead.