Free tool
UTM builder for paid ads
Build tracking parameters for Google Ads, Meta, Microsoft Advertising, TikTok and LinkedIn. Presets use each platform's dynamic values, give you the exact string for the Final URL suffix or URL parameters field, and flag values that would land in the wrong GA4 channel.
- Platform presets with dynamic values
- GA4 channel checks
- Runs in your browser
Paste into Final URL suffix
Campaign or account settings → Campaign URL options → Final URL suffix
Full link (to test or share)
- Add the landing page URL.
- utm_campaign is required for GA4 to attribute the visit.
- Keep Google Ads auto-tagging on. With Google Ads linked to GA4, the gclid supplies the campaign data; the UTMs add readable values for GA4 explorations and for other analytics tools.
Dynamic values by platform
Dynamic values are replaced by the ad platform on every click, so one parameter string covers every campaign, ad group and ad. Sources: Google Ads ValueTrack, Meta URL parameters, Microsoft Advertising URL parameters.
Google Ads
Final URL suffix: Campaign or account settings → Campaign URL options → Final URL suffix
{_campaign}- Custom parameter: add _campaign in the campaign's URL options
{campaignid}- Campaign ID
{adgroupid}- Ad group ID
{creative}- Ad ID
{keyword}- Keyword
{matchtype}- Match type (e, p, b)
{network}- Network (g, s, d, ytv, x)
{device}- Device (m, t, c)
{placement}- Placement (Display)
Meta (Facebook & Instagram)
URL parameters: Ad level → Destination → Tracking → URL parameters
{{campaign.name}}- Campaign name
{{campaign.id}}- Campaign ID
{{adset.name}}- Ad set name
{{adset.id}}- Ad set ID
{{ad.name}}- Ad name
{{ad.id}}- Ad ID
{{placement}}- Placement
{{site_source_name}}- Site source (fb, ig, msg, an)
Microsoft Advertising
Final URL suffix: Account, campaign or ad group settings → Campaign URL options → Final URL suffix
{Campaign}- Campaign name
{CampaignId}- Campaign ID
{AdGroup}- Ad group name
{AdGroupId}- Ad group ID
{AdId}- Ad ID
{keyword}- Keyword
{MatchType}- Match type (e, p, b)
{Device}- Device (m, t, c)
{Network}- Network (o, s, a)
TikTok Ads
URL parameters: Ad level → Destination → URL → Build URL parameters, or append to the URL
__CAMPAIGN_NAME__- Campaign name
__CAMPAIGN_ID__- Campaign ID
__AID_NAME__- Ad group name
__AID__- Ad group ID
__CID_NAME__- Ad name
__CID__- Ad ID
__PLACEMENT__- Placement
A naming convention that survives reporting
| Parameter | Search ads | Social ads | Rule |
|---|---|---|---|
| utm_source | google, bing | facebook, instagram, linkedin, tiktok | The site the click comes from, never the channel. |
| utm_medium | cpc | paid_social | Must read as paid to GA4, or the visit lands in an organic channel. |
| utm_campaign | brand_search_us | prospecting_spring_2026 | Lowercase, underscores, the same name as in the ad platform. |
| utm_term | the keyword | the ad set or audience | Lets you split results below campaign level. |
| utm_content | the ad | the creative | Compares variations of the same ad. |
More on structuring campaigns: Meta Andromeda campaign structure and Google Ads search campaign setup.
Questions
Do I still need UTMs on Google Ads if auto-tagging is on?
Keep auto-tagging on: with Google Ads linked to GA4, the gclid gives GA4 the campaign, ad group and keyword. A Final URL suffix with UTMs still helps when other analytics tools, your CRM or a form handler read the landing URL, and it keeps naming consistent across platforms.
Which utm_medium should paid ads use?
GA4 puts a visit in Paid Search when the source is a search site and the medium matches cpc, ppc, retargeting or starts with paid; Paid Social uses the same medium rule with a social source. cpc for search ads and paid_social for social ads are the safe choices. A medium like social or facebook sends paid clicks to Organic Social.
Why should UTM values be lowercase?
GA4 treats values as case-sensitive, so Facebook, facebook and FACEBOOK become three sources. Lowercase values with underscores keep reports grouped. Platform macros such as {{campaign.name}} are left as they are; the campaign names inside them are whatever you named the campaigns.
Where do the parameters go in Meta Ads Manager?
At the ad level, under Destination → Tracking → URL parameters. Paste the parameter string without a question mark; Meta appends it to the website URL and fills the {{ }} values on each click.
What is utm_id for?
utm_id is the campaign ID. GA4 uses it to match data imports such as cost data from ad platforms that do not have a native integration. The presets fill it with the platform's campaign ID macro.