Senior E-commerce PPC Consultant
EN FR

Tools

Google Analytics URL builder (UTM builder)

Add UTM parameters to a link so GA4 attributes the visit to the right source, medium and campaign.

More GA4 parameters (optional)

What UTM parameters are

UTM parameters are short tags added to the end of a URL that tell Google Analytics where a visit came from. They work anywhere you share a link: ads, email campaigns, social media posts, partner sites or QR codes. When someone clicks a tagged link, GA4 can use those values to identify the traffic source, medium and campaign in its reports.

  • Source (utm_source): Where the traffic comes from, such as facebook, newsletter or linkedin.
  • Medium (utm_medium): The type of traffic, such as cpc, email or social.
  • Campaign (utm_campaign): The campaign or promotion, such as spring_sale.
  • Term (utm_term): Optional. Primarily used to identify paid search keywords or other targeting details.
  • Content (utm_content): Optional. Helps distinguish between ads, creative variations or links within the same campaign.

How to build UTM links

Enter the full destination URL, then fill in the source, medium and campaign fields. Add term or content only when you need more detailed tracking.

The UTM builder generates a complete campaign URL that you can copy into an ad, email or social media post.

For example:

https://example.com/shoes/?utm_source=facebook&utm_medium=cpc&utm_campaign=spring_sale

This link identifies facebook as the traffic source, cpc as the medium and spring_sale as the campaign.

UTM naming conventions

Consistent naming makes campaign reporting easier to manage. Use lowercase values throughout. Google Analytics 4 treats Facebook and facebook as different sources, which can split the same traffic across separate rows.

Choose a standard name for each source and medium, then use it consistently. Avoid spaces by using underscores or hyphens, and stick to one naming style.

If multiple people create campaign links, maintain a shared list of approved values to keep reporting consistent.

Common UTM tracking mistakes

Inconsistent medium values. Switching between values such as cpc, ppc and paid_social makes reporting harder to interpret. GA4 uses source and medium values to classify traffic into channels such as Paid Search, Paid Social and Email. Values that don’t match its channel rules may appear as Unassigned.

Adding UTMs to internal links. UTM parameters are intended to identify traffic arriving from external sources. Adding them to links between pages on the same website can interfere with campaign attribution and introduce misleading tracking data.

Duplicating Google Ads tracking. When Google Ads is linked to GA4 and auto-tagging is working correctly, manual UTM parameters generally aren’t necessary. They can serve as a fallback in certain situations, but should complement rather than replace auto-tagging.

Where to find UTM data in GA4

Open Google Analytics 4 and navigate to Reports > Acquisition > Traffic acquisition.

Change the table’s primary dimension to Session source / medium to see where visits originated, or Session campaign to review traffic by campaign name.

If your team runs its own campaigns and wants a senior PPC specialist alongside it, see PPC support for in-house marketing teams.