---
title: "UTM Builder for Google Ads, Meta and GA4"
description: "Free UTM builder with Google Ads ValueTrack and Meta presets. Build tagged links for GA4, copy the Final URL suffix, or tag several sources."
url: https://adctrl.ai/tools/utm-builder/
last_updated: 2026-11-20
---

# UTM builder

A UTM builder adds utm_source, utm_medium and utm_campaign to a link so GA4 can report where visits came from. Build tagged links with Google Ads ValueTrack or Meta dynamic values, or one link per source.

By [Kaan Catalkaya](https://adctrl.ai/#founder), Founder of AdCtrl · Updated 20 November 2026

## UTM builder: how to tag a link with UTM parameters

A UTM builder adds tracking tags to a link so Google Analytics can tell where a visit came from. You add them after a question mark: **page URL? utm_source = … & utm_medium = … & utm_campaign = …** GA4's own guidance is that "you should always use utm_source, utm_medium, and utm_campaign".[1](https://adctrl.ai/tools/utm-builder/#ref-1) The other two, utm_content and utm_term, are optional.

**Formula:** page URL +?utm_source=…&utm_medium=…&utm_campaign=…

Worked example

Say an online bag shop sends its spring newsletter with a link to its bags page. The link becomes https://example.com/bags?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale. GA4 then reports visits from that link as newsletter / email in the spring_sale campaign.

The shop and link in this example are hypothetical.

The builder keeps whatever the page address already has. A query string such as?color=red stays, and the tags go after it with an ampersand. A #fragment such as #reviews moves to the end, where browsers expect it. If the address already carries a UTM tag with the same name, the builder replaces it instead of adding a second one. Values are encoded for you, so a space becomes %20 and an ampersand inside a value can't break the link.

## What are UTM parameters?

UTM parameters are five tags that GA4 reads from the address of the page someone lands on:

- **utm_source**: where the click came from, such as google, newsletter or facebook
- **utm_medium**: the kind of traffic, such as cpc, email or paid_social
- **utm_campaign**: the promotion or campaign name
- **utm_content**: which ad or link, when several point to the same page
- **utm_term**: the keyword or audience

Values are case sensitive: "utm_source=google is different from utm_source=Google".[1](https://adctrl.ai/tools/utm-builder/#ref-1) Pick one spelling for every source and medium and keep to it, in lowercase, with - or _ instead of spaces. The builder warns you when a value has capitals or spaces.

## UTM builder for Google Ads: ValueTrack and the Final URL suffix

Google Ads can fill tags for you at click time with ValueTrack parameters. The Google Ads preset uses three of them: {campaignid} for "the campaign ID", {adgroupid} for "the ad group ID" and {keyword} for "the keyword from your account that matches the search query".[2](https://adctrl.ai/tools/utm-builder/#ref-2) One catch: in AI Max, dynamic search ads and Performance Max, an ad can match without a keyword, and then {keyword} comes back blank. Tick the extras for {matchtype}, {device} and {network} if you want those in your reports too.

Put the parameters in the **Final URL suffix**, not in each ad's address. Google describes the suffix as a field for "parameters that will be attached to the end of your landing page URL", and you can set it at account, campaign, ad group, ad and keyword level.[3](https://adctrl.ai/tools/utm-builder/#ref-3) Use the builder's "Copy parameters only" button for this: the suffix takes the part after the question mark.

Keep auto-tagging on. It adds the gclid, Google's click ID, to every ad click, and in GA4 "auto-tagging is prioritized over manual tagging".[4](https://adctrl.ai/tools/utm-builder/#ref-4) So GA4 will still report Google Ads clicks from auto-tagging. The UTM tags matter for everything else that reads the address, such as your CRM, a form tool or another analytics tool. If clicks show up under the wrong source, [why conversion reports disagree](https://adctrl.ai/blog/conversion-discrepancy/) covers redirects that drop the gclid.

## UTM parameters for Meta (Facebook and Instagram) ads

Meta has its own dynamic values in double braces. The Meta preset uses {{site_source_name}}, {{campaign.name}}, {{adset.name}} and {{ad.name}}, and you can add {{placement}}. Meta's own example is "utm_campaign={{campaign.name}}&utm_content={{ad.name}}".[5](https://adctrl.ai/tools/utm-builder/#ref-5) The site source becomes fb, ig, msg, an or th depending on where the ad ran, so Facebook and Instagram clicks show up as separate sources.

In Ads Manager, the parameters go in the **URL parameters** field, below Tracking.[6](https://adctrl.ai/tools/utm-builder/#ref-6) Paste just the parameter string there, again with "Copy parameters only". Two things to know before you publish. Name-based values are fixed when the ad first publishes: "the parameters will refer to the original names" even if you rename the campaign later.[5](https://adctrl.ai/tools/utm-builder/#ref-5) And changing URL parameters after publishing "may cause your ad set to re-enter the learning phase", so set them before launch.

Meta also adds its own click ID, fbclid, to ad clicks, and "ClickID auto-attachment does not impact other custom tracking parameters".[7](https://adctrl.ai/tools/utm-builder/#ref-7) Your UTM tags and Meta's click ID travel together.

## Don't tag internal links

UTM tags belong on links that bring people to your site from somewhere else: ads, emails, social posts, partner sites. We'd keep them off links between your own pages. A tag on an internal link gives GA4 a new source partway through a visit, so a sale that follows can be credited to your own banner instead of the ad that brought the visitor. The builder warns you when the source looks like your own site.

The same goes for click IDs. If you copy a page address from a visit that came from an ad, it may already contain gclid or fbclid. The builder flags it, because a click ID pasted into a link can make every visitor look like the same ad click.

## Batch mode: one link per source

For a launch that goes out in several places, the Batch tab builds one link per source in one go, with the same page, medium and campaign. Type the sources separated by commas, such as facebook, linkedin and newsletter, and copy all the links at once. Use it for organic posts and emails. For paid ads, the Google Ads and Meta presets fill the values per click.

## Reading UTM results and checking them against sales

In GA4 the tags show up as session source, medium and campaign. Tags only tell you where visits came from. Whether those visits turned into customers is a separate check. If you send leads back to Google Ads, [offline conversions in Google Ads](https://adctrl.ai/blog/google-ads-offline-conversions/) explains how the click ID carries a sale back to the ad. And once you know which campaign brings in sales, the [ROAS calculator](https://adctrl.ai/tools/roas-calculator/) and [CPA calculator](https://adctrl.ai/tools/cpa-calculator/) tell you whether it pays.

Use a distinct campaign name to trace where the source changes in the [Shopify checkout-to-GA4 purchase check](https://adctrl.ai/blog/shopify-ga4-missing-purchases/).

## UTM builder FAQ

### What is a UTM link?

A UTM link is a normal web address with tracking tags added after a question mark, such as?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale. GA4 reads the tags to report where the visit came from.

### Is a UTM generator the same as a URL builder?

Yes. UTM generator, UTM maker, UTM builder and Google's Campaign URL Builder are names for the same tool: it adds utm_source, utm_medium and utm_campaign to a link.

### What is a UTM code?

It's another name for the tags themselves: the utm_source=…&utm_medium=…&utm_campaign=… part of a tagged link.

### Which UTM parameters are required?

GA4 asks for utm_source, utm_medium and utm_campaign on every tagged link. utm_content and utm_term are optional.[1](https://adctrl.ai/tools/utm-builder/#ref-1)

### Are UTM tags case sensitive?

Yes. GA4 treats utm_source=google and utm_source=Google as two different sources, so pick lowercase and keep to it.[1](https://adctrl.ai/tools/utm-builder/#ref-1)

### Should I put a UTM tag on internal links?

No. A tag on a link between your own pages gives the visit a new source, so later sales can be credited to your own link instead of the ad or email that brought the visitor.

### Do I need UTM tags on Google Ads if auto-tagging is on?

Not for GA4, which uses auto-tagging first. Add them if a CRM or another tool reads the landing page address, and put them in the Final URL suffix.[4](https://adctrl.ai/tools/utm-builder/#ref-4)

### How do I build a campaign URL for Google Analytics?

Paste the page address, fill in source, medium and campaign, and copy the link. The builder adds the tags after any existing parameters and keeps the #fragment at the end.

[AdCtrl can read your GA4 reports next to your Google Ads and Meta results, in Claude or ChatGPT](https://adctrl.ai/docs/#capabilities).

## Articles that use the UTM builder

- [**GA4 conversions don't match Google Ads: normal or broken?** Google Ads, GA4 and Meta count conversions on different dates and rules. Line up the right columns, then tell a normal gap from broken tracking.](https://adctrl.ai/blog/conversion-discrepancy/)
- [**Google Ads audit checklist 2026: 40 checks, real API fields** 40 Google Ads audit checks for 2026 (AI Max, Performance Max, Demand Gen), each with its report, the API field if any, and whether AI can judge it.](https://adctrl.ai/blog/google-ads-audit-checklist/)
- [**Google Ads offline conversions not showing? Check the gap** Google Ads offline conversions missing? Check your CRM export, find errors in Data Manager, and see what Google Ads credited by conversion date.](https://adctrl.ai/blog/google-ads-offline-conversions/)
- [**Shopify GA4 missing purchases? Trace one order** Shopify got the order but GA4 seems to have missed it? Trace one paid order to find out if checkout, event collection or attribution broke.](https://adctrl.ai/blog/shopify-ga4-missing-purchases/)

## More free tools

- [**Ad budget calculator** Budget = sales ÷ conv. rate × CPC](https://adctrl.ai/tools/ad-budget-calculator/)
- [**Ad preview tool** Headline ≤ 30 · description ≤ 90 characters](https://adctrl.ai/tools/ad-preview/)
- [**AI visibility checker** Brand + category → named in X of 6 AI answers](https://adctrl.ai/tools/ai-visibility/)
- [**CAC calculator** CAC = sales & marketing costs ÷ new customers](https://adctrl.ai/tools/cac-calculator/)
- [**CPA calculator** CPA = ad cost ÷ conversions](https://adctrl.ai/tools/cpa-calculator/)
- [**CPC calculator** CPC = ad cost ÷ clicks](https://adctrl.ai/tools/cpc-calculator/)
- [**CPM calculator** CPM = ad cost ÷ impressions × 1,000](https://adctrl.ai/tools/cpm-calculator/)
- [**CTR calculator** CTR = clicks ÷ impressions × 100](https://adctrl.ai/tools/ctr-calculator/)
- [**Keyword match type tool for Google Ads** Broad · Phrase · Exact · Negative](https://adctrl.ai/tools/keyword-match-type-tool/)
- [**LTV calculator** LTV = order value × margin × orders](https://adctrl.ai/tools/ltv-calculator/)
- [**ROAS calculator** ROAS = ad revenue ÷ ad spend](https://adctrl.ai/tools/roas-calculator/)
- [**Tracking and pixel checker** Page link → GTM, GA4, Meta and TikTok IDs](https://adctrl.ai/tools/tracking-checker/)

## Sources

1. [URL builders: Collect campaign data with custom URLs](https://support.google.com/analytics/answer/10917952?hl=en), Analytics Help.
2. [Set up tracking with ValueTrack parameters](https://support.google.com/google-ads/answer/6305348?hl=en), Google Ads Help.
3. [Add a Final URL suffix](https://support.google.com/google-ads/answer/9054021?hl=en), Google Ads Help.
4. [About auto-tagging](https://support.google.com/google-ads/answer/3095550?hl=en), Google Ads Help.
5. [Specifications for dynamic URL parameters in Meta Ads Manager](https://www.facebook.com/business/help/2360940870872492), Meta Business Help Centre.
6. [Add URL parameters to your Meta ads in Meta Ads Manager](https://www.facebook.com/business/help/1016122818401732), Meta Business Help Centre.
7. [fbp and fbc parameters (Conversions API)](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/fbp-and-fbc/), Meta for Developers.

## Put your AI to work on your campaigns.

AdCtrl connects Claude or ChatGPT to Google Ads, Meta Ads, GA4, Tag Manager and Search Console. Ask in plain words and approve every change.

[Start free](https://app.adctrl.ai/app)

3-day free trial · no card needed

A product by mondaybrew ApS · CVR 45217779 · Vesterbrogade 74, 3. sal, 1620 København V, Denmark

Google, Meta, ChatGPT and Claude are trademarks of their respective owners. AdCtrl is an independent product by mondaybrew ApS.
