Tag your links so Google Analytics shows exactly which post, ad or email brought each visitor.
Shares this page only, not your entries.
GA4 channel: Email.
Spaces become underscores and characters like &, # and + are percent-encoded, so the link can't break. Open the link to check it lands on the right page.
The UTM parameters
utm_source: where the click came from (instagram, newsletter, google). Required.
utm_medium: the type of channel (social, email, cpc, referral). Required.
utm_campaign: your campaign name (spring_sale). Required.
utm_id: a campaign ID, if your ad platform or cost import uses one (optional).
utm_term: the paid keyword (optional).
utm_content: which ad or link variant (optional; handy for A/B tests).
Best practices
Use lowercase. GA4 treats "Instagram" and "instagram" as different sources.
Use the same names every time, and keep a shared sheet of approved sources and mediums.
Pick a medium GA4 recognises, or the visits end up in the Unassigned channel.
Use UTMs only on links that point to your site from elsewhere, not on links between your own pages.
If your page address already has a query string, the tool keeps it exactly as it is and only adds or replaces the utm_ parameters.
Sources: Google Analytics Help, "URL builders: Collect campaign data with custom URLs" and "Default channel group". Checked October 2026.
Frequently asked questions
Where do I see UTM data?
In Google Analytics 4, under Reports → Acquisition → Traffic acquisition, with the Session source / medium or Session campaign dimension.
Why does my campaign show as Unassigned in GA4?
GA4 sorts traffic into channels by the medium and source. A medium it doesn't recognise, such as "social_media" or "insta", usually lands in Unassigned. Use standard mediums like cpc, email, social, referral, display or affiliate; the tool shows the channel each medium is likely to land in.
What is utm_id?
A campaign ID, for example the ID your ad platform gives the campaign. GA4 uses it to join cost and campaign data you import. It's optional for most people.
Do UTMs affect SEO?
No, as long as you use them only on links from outside your site (ads, social posts, emails) and your pages have canonical tags.
Can I shorten UTM links?
Yes. A link shortener keeps the full UTM link behind a short, clean URL for social posts and print; the parameters still reach your site.