# UTM builder for Meta, TikTok, LinkedIn and Google Ads

> Source: https://facebookreachcalculator.com/utm-builder/  
> Publisher: Facebook Reach Calculator (independent, not affiliated with Meta)  
> Updated: 2026-11-21  
> Language: en

Choose where the link will run. The fields fill with the right tags for that platform, including the dynamic values Meta, TikTok, LinkedIn and Google Ads replace when an ad is shown.

Formula

`Tagged link = page URL + ?utm_source=SOURCE&utm_medium=MEDIUM&utm_campaign=CAMPAIGN (+ optional utm_term, utm_content, utm_id)`

**Worked example:** `https://example.com/offer?utm_source=newsletter&utm_medium=email&utm_campaign=black-friday` is counted under the Email channel in Google Analytics.

Google’s own Campaign URL Builder makes one link at a time and does not know what each ad platform calls its campaigns, ad sets and ads. This builder does. Pick Meta, TikTok, LinkedIn or Google Ads and it fills in that platform’s dynamic parameters, so every ad tags itself with its own campaign, ad set and ad name. It then tells you which Google Analytics channel the visit will land in, flags the mistakes that send paid traffic to the wrong channel, and builds hundreds of variants for creators or posts in one go.

## Which dynamic parameters does each ad platform use?

| Platform | Campaign | Ad set or ad group | Ad or creative |
| --- | --- | --- | --- |
| Meta | `{{campaign.name}}` | `{{adset.name}}` | `{{ad.name}}` |
| TikTok | `__CAMPAIGN_NAME__` | `__AID_NAME__` | `__CID_NAME__` (creative) |
| LinkedIn (since Oct 2025) | `{{CAMPAIGN_NAME}}` | `{{AD_SET_NAME}}` | `{{AD_NAME}}` |
| Google Ads (ValueTrack) | `{campaignid}` | `{adgroupid}` | `{creative}` |

Meta also offers `{{placement}}` and `{{site_source_name}}`. Meta stores name values when an ad is first published, so renaming a campaign later does not change the tag. TikTok’s `__PLACEMENT__` returns where the ad ran, such as TikTok or Pangle.

## Why do paid ads end up as Organic Social?

Google Analytics puts a visit in Paid Social only when the source is on Google’s list of social sites *and* the medium matches `cpc`, `ppc`, `retargeting` or anything starting with `paid`. A medium of `social` sends the visit to Organic Social even if you paid for it. The rules are not case-sensitive, but reports are: `Facebook` and `facebook` show as two rows. That is why the builder lower-cases values by default.

| You tag | Google Analytics channel |
| --- | --- |
| source fb or instagram, medium paid_social | Paid Social |
| source tiktok, medium social | Organic Social |
| source youtube, medium cpc | Paid Video |
| source newsletter, medium email | Email |
| source partner-blog, medium paid | Paid Other |
| medium affiliate | Affiliates |

## How should I name UTM values?

- Pick one spelling per platform and never change it: `facebook` or `fb`, not both.

- Keep mediums to a short fixed list such as `paid_social`, `cpc`, `social`, `email` and `affiliate`.

- Put the date or quarter in the campaign name, for example `2026-12-holiday-sale`, so campaigns sort in order.

- Use `utm_content` for the creative, creator or post, and keep `utm_term` for keywords or audiences.

Planning the posts these links go into? Use the [content calendar generator](https://facebookreachcalculator.com/social-media-content-calendar-generator/), then check results against your spend with the [ROAS calculator](https://facebookreachcalculator.com/facebook-ads-roas-calculator/).

## Sources

- [Google Analytics Help, “Default channel group”](https://support.google.com/analytics/answer/9756891), accessed 21 November 2026.

- [Google Analytics Help, “Collect campaign data with custom URLs”](https://support.google.com/analytics/answer/10917952), accessed 21 November 2026.

- [Meta Business Help Center, “Specifications for URL dynamic parameters”](https://www.facebook.com/business/help/2360940870872492), accessed 21 November 2026.

- [TikTok API for Business, supported URL macros](https://business-api.tiktok.com/portal/docs/update-ads/v1.3), accessed 21 November 2026.

- [LinkedIn Marketing Solutions Help, “URL tracking parameters in Campaign Manager”](https://www.linkedin.com/help/lms/answer/a5968064), accessed 21 November 2026.

- [Google Ads Help, “Set up tracking with ValueTrack parameters”](https://support.google.com/google-ads/answer/6305348), accessed 21 November 2026.

---
Cite as: UTM builder for Meta, TikTok, LinkedIn and Google Ads, Facebook Reach Calculator, https://facebookreachcalculator.com/utm-builder/
