UTM parameters: build a campaign taxonomy you can trust

Create consistent campaign tags, test the complete redirect path, and verify that source information survives the journey to a business outcome.

By Mika Garcia · Published

In this article

UTM parameters label a link, not a customer

UTM parameters are campaign labels appended to a destination URL. They help a measurement system interpret where a visit came from and which campaign or creative the link represents. They do not identify a person or prove that the campaign caused a later purchase.

Google’s campaign URL guidance distinguishes source, medium, campaign, term and content, with additional fields for specific reporting uses. Source names the referrer; medium describes the channel; campaign groups a marketing effort. Term and content can add keyword or creative detail.

The practical challenge is consistency. A beautifully tagged link is of limited use if the next campaign uses different spellings for the same source, a redirect removes the query string, or the payment cannot be linked to the visit.

Create a small dictionary before generating links

Choose a canonical value for every source and medium you use. Give campaign names a stable structure that a teammate can understand without opening the advertising account. Treat the dictionary as a controlled list, not a suggestion that every person can reinterpret.

For example, a team might choose source newsletter, medium email, campaign autumn-demo and content footer-cta. Those are illustrative business choices, not universal channel labels. Use the platform’s reporting requirements when mapping them into a particular analytics product.

Google documents case-sensitive parameter values. Pick a capitalization rule and enforce it. Also decide how to handle spaces, renamed campaigns and dynamic platform macros. Keep stable campaign IDs separately when names are expected to change.

Give each field one job

1. Source + medium

newsletter / email

Where the link appears and its channel.

2. Campaign

autumn-demo

The initiative being measured.

3. Content

footer-cta

The link or creative variation.

Example naming dictionary. Use your own controlled values consistently.

Build and inspect one complete URL

An illustrative tagged destination is https://example.com/demo?utm_source=newsletter&utm_medium=email&utm_campaign=autumn-demo&utm_content=footer-cta. The question mark starts the query string and ampersands separate its key-value pairs. If the URL already has a query string, append additional parameters using ampersands.

Use a URL builder or proper encoding when values contain spaces or punctuation. Avoid creating two conflicting values for the same parameter. If an ad platform substitutes dynamic values, inspect the final resolved link rather than assuming a preview macro will behave like a real click.

Do not put email addresses, account secrets or sensitive customer details into campaign tags. URLs can travel through browser history, logs and other systems. Campaign labels should describe the marketing placement, not expose the person who clicked it.

Test the route the actual click will take

Open the link through its normal shortener, redirect or email-click wrapper. Confirm the final landing page and inspect the resulting event in your measurement system. A direct paste into the final URL skips intermediaries that might remove or rewrite the tags.

Next, follow the relevant identity handoff into signup and payment. A payment without campaign credit may reflect a missing account reference rather than a bad UTM name. Check the earliest point where the expected evidence disappears.

DATALYR’s attribution documentation is the reference for checking captured campaign context and its lookup behavior. Do not assume that the reporting rules of another analytics product are identical.

Verify the whole route

1. Campaign link

Resolved URL

Check final values after dynamic substitution.

2. Landing event

Captured context

Check redirects and collection.

3. Business outcome

Linked identity

Check signup or payment handoff.

A tag visible in the address bar is only the first checkpoint.

Prevent naming drift without rewriting history

Assign an owner to the naming dictionary and store the approved destination beside each campaign. Validate required fields before launch. When a value changes, record when and why; otherwise a reporting split can look like a sudden loss of performance.

Keep acquisition tags off ordinary internal navigation unless you have a specific, understood measurement design. Use an interaction event or a dedicated internal-promotion field for on-site navigation rather than pretending the visitor arrived from a new external campaign.

When comparing reports, inspect their source definitions and attribution settings. Consistent tags make reconciliation easier, but they do not force different systems to assign the same conversion credit.

Make the weekly check a small sample, not a guess

Select a recently launched campaign and follow one link to its landing event. Look for blank fields, unexpected capitalization, unresolved macros and campaign names that no longer match the dictionary. Check a known downstream outcome when its journey is available.

If you find an error, fix the source link and document the affected dates. Keep any reporting normalization separate from the raw captured values. That preserves an audit trail and lets the next person understand why two labels were grouped together.