UTM builder with Meta, TikTok and Google Ads presets

Tag any link with source, medium and campaign, or start from a preset with each ad platform's macros. Copy the full URL or the parameters only.

Build

Preset

Join words with

https://example.com/products/body-oil?utm_source=facebook&utm_medium=paid_social&utm_campaign=spring_body_oil&utm_content=ugc_video_01

GA4 channelPaid Social

Dynamic macros for Meta, TikTok and Google Ads

Each platform swaps these for real names or IDs when the ad serves, and only inside its own tracking field.

Fills inMetaTikTokGoogle Ads
Campaign name{{campaign.name}}__CAMPAIGN_NAME__-
Ad set or ad group name{{adset.name}}__AID_NAME__-
Ad or creative name{{ad.name}}__CID_NAME__-
Campaign ID{{campaign.id}}__CAMPAIGN_ID__{campaignid}
Ad set or ad group ID{{adset.id}}__AID__{adgroupid}
Ad or creative ID{{ad.id}}__CID__{creative}
Placement{{placement}}__PLACEMENT__-
Keyword--{keyword}

Google Ads has no campaign name macro, so type the name in utm_campaign and put {campaignid} in utm_id.

UTM naming mistakes that break GA4 reports

Mixing cases

GA4 treats Facebook and facebook as two sources. Pick lowercase and keep it.

Inventing mediums

With facebook as the source, paid_social lands in Paid Social, but fb_ads lands in Organic Social and your ad spend looks like free traffic.

Hand-tagging Google Ads

With auto-tagging on, GA4 takes source, medium and campaign from the gclid and ignores yours.

Tagging internal links

A UTM on a banner inside your own store starts a new session and wipes out the ad that brought the shopper in.

UTM builder questions

What does UTM stand for?

Urchin Tracking Module. Urchin was the analytics company Google bought in 2005, and its software became Google Analytics.

How do I create a UTM link?

Paste the page URL, then fill in utm_source (where the click comes from, like facebook), utm_medium (the type of traffic, like paid_social) and utm_campaign. For Meta and TikTok ads, copy the parameters only and paste them into the ad's URL parameters field.

Are UTM parameters case sensitive?

Yes. GA4 reports utm_source=google and utm_source=Google as two values, so mixed case splits one source into two rows. Keep every value lowercase.

Where do I put UTM parameters in Meta Ads Manager?

In the ad, under Tracking, in the URL parameters field. Paste the parameters without the website URL, starting at utm_source=facebook. Macros like {{campaign.name}} fill in when the ad serves.

Do I need UTM tags with Google Ads automatic tagging?

Not for source, medium and campaign. GA4 takes those from the gclid and still reads your utm_term and utm_content. Tag Google Ads links by hand only for tools that can't read the gclid.

Turn a product link into ads

Static and UGC video ads for Meta and TikTok.

No credit card required

More free tools

Ask an AI about this page

ChatGPTClaudePerplexityGoogle AI Mode