Google Analytics 4 & Ad Platform UTM Builder
Generate clean, reliable, and GA4-compliant campaign tracking URLs for Meta CAPI, Google Ads, TikTok, and email marketing. Avoid fragmented reports, uppercase splits, and misattributed ad traffic.
1 Destination & Platform Presets
2 Campaign Parameters
⚡ Live Generated URL
0 charsEnter destination URL and parameters to inspect channel classification.
Campaign QR Code
Scan with any mobile camera or download high-res image for print, packaging, and offline attribution.
Parameter to GA4 Dimension Mapping
| Parameter | Entered Value | GA4 Dimension |
|---|
The 4 Golden Rules of UTM Tracking
A single typo can scramble your conversion reports. Follow these proven principles practiced by top analytics engineers.
Always Enforce Lowercase
Google Analytics 4 is strictly case-sensitive. If you use Facebook in one ad and facebook in another, GA4 splits them into two separate sources, breaking campaign rollups.
Never Use UTMs Internally
Never put UTM parameters on internal website links (like home-page banners linking to a sale). Clicking an internal UTM immediately overwrites the user's original referrer and starts a new session.
Hyphens Over Spaces
Spaces in URLs turn into messy %20 strings. Use clean hyphens (e.g., spring-sale-2026) to ensure maximum URL readability across ad reviewers and browsers.
Align With GA4 Mediums
GA4 assigns traffic into Default Channel Groups using strict regex on utm_medium. Use standard terms like cpc and paid_social so traffic isn't dumped into "(Other)".
GA4 Default Channel Grouping Matrix
Which utm_medium values map to official GA4 default channels:
| GA4 Default Channel | Required utm_medium |
|---|---|
| Paid Search | cpc, ppc, paidsearch |
| Paid Social | paid_social, paidsocial, cpc + social source |
email, newsletter |
|
| Affiliates | affiliate, affiliates |
| Display | display, banner, cpm |
| Organic Social | social, organic_social, social-network |
| Referral | referral, app |
Ad Platform Dynamic Macro Tokens
Tokens automatically replaced by ad networks upon click:
| Platform | Dynamic Macros Available |
|---|---|
| Meta (Facebook/IG) | {{campaign.name}}{{adset.name}}{{ad.name}}{{placement}} |
| Google Ads | {campaignid}{adgroupid}{keyword}{matchtype}{creative} |
| TikTok Ads | __CAMPAIGN_NAME____AID_NAME__ (Ad Group)__CID_NAME__ (Creative)__CAMPAIGN_ID__ |
| LinkedIn Ads | Requires manual naming or campaign group convention. |
Frequently Asked Questions About Campaign URLs
What is a UTM parameter and why does GA4 need it?
UTM (Urchin Tracking Module) parameters are special query tags added to the end of a URL. When someone clicks your link, Google Analytics 4 reads these tags to determine exactly where the user came from (source), how they got there (medium), and which specific marketing initiative brought them (campaign).
Why should I use 'paid_social' instead of just 'facebook' as medium?
Google Analytics 4 has built-in rules for Default Channel Grouping. If you use utm_medium=paid_social, GA4 automatically buckets the session under "Paid Social". If you use a non-standard medium like fb_ads or post, GA4 won't recognize it and will classify your paid traffic into "Unassigned" or "(Other)".
What is the difference between utm_term and utm_content?
utm_term is traditionally used for keyword data in paid search campaigns (or audience segment in social ads). utm_content is used to differentiate ads or links that point to the exact same URL—for example, testing a video ad vs. an image carousel, or comparing a top hero button vs. a footer button in an email.
Will UTM parameters affect my SEO rankings?
No, provided your landing pages have proper <link rel="canonical"> tags. Canonical tags instruct search engine crawlers that the clean URL without parameters is the authoritative version, preventing duplicate content indexing.
Unsure If Your Conversions Are Tracking Correctly?
A broken UTM parameter is frustrating, but missing purchase events or duplicate conversions destroy your ad algorithms. Request a completely free audit of your GA4, GTM, and Meta CAPI setup.
