UTM parameters can show which campaigns drive visits, but a redirect can remove, rewrite or duplicate those parameters before analytics records the session. This guide explains how to design redirect tracking, preserve campaign data, name UTMs consistently, test short links and review attribution without creating unnecessary SEO or privacy problems.
Overview
A UTM-tagged URL adds campaign information to the query string, usually through parameters such as utm_source, utm_medium and utm_campaign. For example:
https://example.co.uk/guide?utm_source=newsletter&utm_medium=email&utm_campaign=spring_update
When someone follows that link, an analytics platform may use the parameters to classify the visit. However, the visitor may first pass through a short link, tracking URL, domain forwarding rule, QR code destination or campaign redirect. Every step must handle the query string deliberately.
The safest general pattern is a direct, server-side redirect that preserves the intended query parameters and sends the visitor to the final landing page in one hop. A campaign link such as https://go.example.co.uk/spring might therefore redirect to:
https://example.co.uk/offer?utm_source=linkedin&utm_medium=paid_social&utm_campaign=spring_update
Use a 301 redirect when a campaign or short URL has a permanent destination, and a 302 redirect when the destination is expected to change or the routing is temporary. The status code describes the URL relationship; it does not replace UTM tracking. A redirect can be permanent while still carrying campaign parameters, provided the implementation and reporting approach support that use case.
UTM parameters generally describe marketing context rather than SEO relevance. Do not use them as a substitute for a canonical URL, and avoid treating every parameterised URL as a separate indexable page. For the distinction, see Canonical URL or Redirect?.
What to track
Preserve the query string intentionally
First decide whether the redirect should preserve the complete query string, selected parameters or none of it. A simple forwarding rule may pass the original query string through automatically, while a custom rule may replace it. Neither behaviour should be assumed.
Test these cases separately:
- A URL with three standard UTM parameters.
- A URL with additional parameters used by the campaign platform.
- A URL with no query string.
- A URL whose destination already contains a query string.
- A URL containing encoded characters, spaces or repeated parameters.
Be particularly careful when a redirect appends a second question mark or duplicates a parameter. For example, combining ?ref=shortlink with an existing ?utm_source=email incorrectly can produce a broken destination. The final URL should be syntactically valid and should contain only the parameters your analytics and campaign systems expect.
Use a consistent UTM naming template
Analytics reports are easier to compare when names follow a shared convention. Before creating links, agree whether values will use lowercase, hyphens or underscores, and whether campaign names identify the promotion, audience, date or product.
A practical template is:
utm_source=[platform-or-owner]utm_medium=[channel]utm_campaign=[stable-campaign-name]utm_content=[creative-or-placement]utm_term=[paid-keyword-if-relevant]
For example:
utm_source=partner_newsletter&utm_medium=email&utm_campaign=summer_webinar&utm_content=hero_link
Keep the values descriptive but not needlessly detailed. “LinkedIn” and “linkedin” may appear as separate values in some reports, so document the chosen spelling. Do not place personal or sensitive information into UTM values. Campaign parameters can appear in browser history, server logs, analytics exports and shared URLs.
Track the complete route
For every short link or redirect, record the source URL, redirect type, final URL, expected query-string behaviour and owner. A small redirect map prevents campaign links from becoming undocumented infrastructure.
Include the route in a bulk redirect map if it is part of a wider site change. If a branded short domain is forwarded at DNS, hosting or server level, document where the redirect is actually configured. The options differ; this overview of domain forwarding and redirects can help identify the right control point.
Cadence and checkpoints
Campaign tracking should be checked before launch, shortly after launch and at a regular review interval. A useful cadence is:
- Before launch: approve the naming convention, build the destination URL and test the redirect.
- On launch day: confirm that the short link resolves, the landing page loads and the expected campaign data appears in the analytics or testing view.
- During the campaign: review traffic volume, landing-page sessions and conversion signals against the campaign plan, allowing for reporting delays and consent choices.
- Monthly or quarterly: inspect naming consistency, unused redirects, broken destinations and unexpected sources or mediums.
- After the campaign: retain the link record, note the final destination and decide whether the redirect should remain active, change destination or be retired.
Use a simple pre-launch checklist:
- Open the tagged source URL and confirm the destination is correct.
- Run the link through a redirect checker or browser developer tools.
- Confirm there is no unnecessary redirect chain or loop.
- Check that the final response is successful and that the page is usable on mobile.
- Verify that UTM values have not been stripped, duplicated or changed unexpectedly.
- Test consent-aware analytics behaviour in the environments relevant to your organisation.
- Record the tested URL, date, expected result and owner.
A redirect chain can add latency and make attribution harder to diagnose. If a short link goes through several tracking services before reaching the landing page, replace the sequence with the shortest reliable route. The guidance on replacing redirect chains with direct destinations is relevant when simplifying an existing setup.
How to interpret changes
A fall in campaign traffic does not automatically mean the campaign performed poorly. Start by separating delivery, redirect and measurement issues.
If clicks are present in the advertising, email or link-shortening platform but sessions are missing from analytics, inspect the redirect and landing-page URL first. The query string may be stripped, overwritten by another rule or lost when a destination is generated dynamically. Check whether the final page redirects again and whether the analytics system is allowed to record the visit under the applicable consent settings.
If sessions appear under an unexpected source or medium, look for inconsistent UTM spelling, automatic tagging rules, links copied without their parameters or a platform that rewrites destination URLs. Compare the original campaign URL with the final URL rather than relying only on a report.
If traffic is split across several campaign names, look for variations such as spring-update, spring_update and Spring_Update. Consolidate future links around one documented value. Historical data may remain fragmented, so record the mapping when reporting totals.
Do not add UTM parameters to ordinary internal navigation unless there is a specific measurement reason. Doing so can overwrite the original acquisition context when a visitor moves around the site. Keep campaign parameters for genuine campaign entry points and use internal analytics methods for on-site interactions where appropriate.
Finally, treat redirect security as part of tracking quality. A short link should route only to an approved destination, and user-controlled destination parameters should be validated. Review the guidance on open redirect vulnerabilities before allowing arbitrary forwarding.
When to revisit
Return to this process before every substantial campaign launch, then review it monthly or quarterly depending on how frequently links are created. Revisit the implementation sooner when a domain, analytics property, consent mechanism, CMS, redirect service, hosting configuration or landing-page URL changes.
At each review, sample active links rather than checking only the newest one. Compare the recorded source URL with the final destination, verify that key UTM parameters survive, and remove or update redirects that lead to retired pages. For QR codes and printed material, test the short destination regularly because the printed code cannot be changed after distribution; the destination can still be managed through a controlled redirect, as explained in this QR code redirect guide.
Keep a versioned UTM dictionary with approved sources, mediums, campaign names and content labels. During post-campaign review, note any attribution gaps and turn them into a specific test for the next launch. A repeatable record, a direct redirect path and consistent naming will usually make campaign reporting more dependable than adding more tracking parameters.