Redirect analytics connects the request a visitor makes with the page, campaign, or conversion that follows. This guide explains what to measure in web analytics and CDN or server logs, how to investigate lost attribution and unusual traffic, and how to build a repeatable redirect health report without collecting more personal data than necessary.
Overview
A URL redirect is often treated as a successful event when it returns the expected status code. That is only the first check. A redirect can respond with a 301, 302, or 307 and still send visitors to the wrong destination, remove campaign parameters, create a chain, or lead to a slow or broken page.
A useful redirect report joins three views of the same journey:
- Redirect activity: how often each source URL is requested and which status code it returns.
- Destination performance: whether the final URL responds successfully, loads within an acceptable time, and records the intended page view.
- Business and campaign outcomes: whether the visit retains its attribution data and contributes to the action being measured.
Web analytics is usually best for sessions, campaign data, landing pages, and conversions. CDN or server logs are useful for requests that never become analytics sessions, including bots, failed requests, blocked scripts, and redirect-only visits. Comparing the two sources helps reveal gaps instead of treating either system as a complete record.
For technical context, review the distinctions between a 301, 302, and 307 redirect, and keep your canonical host and protocol rules consistent with your HTTP, HTTPS, www, and non-www setup.
What to track
Use a stable set of fields so that weekly and monthly comparisons remain meaningful. The following reference table separates the core measures from the questions they answer.
| Measure | What it shows | Warning sign |
|---|---|---|
| Redirect hits | Requests received by each source path, domain, or campaign link | A sharp drop for a link that is still in use, or unexpected volume on an old path |
| Status code | Whether the rule returns the intended 301, 302, or 307 response | Unexpected 4xx or 5xx responses, or a temporary code used for a permanent move |
| Referrer | Where identifiable traffic appears to originate | A key partner, search property, or campaign source disappears from reports |
| Query parameters | Whether UTM and other tracking values survive the redirect | Campaign, source, medium, or content values are missing at the destination |
| User agent category | A broad view of browsers, crawlers, automated clients, and unknown agents | Bot-like activity dominates a link or changes suddenly |
| Redirect latency | Time spent processing the redirect before the next request | Latency rises while redirect volume remains stable |
| Destination response | Whether the final page returns the expected response and remains reachable | A redirect resolves to another redirect, a missing page, or an error |
| Conversion attribution | Whether the visit is associated with the intended campaign or source | Clicks increase but attributed sessions or conversions do not |
Capture enough context to reproduce the issue
A practical log sample commonly includes the request timestamp, host, path, query string handling, response status, destination or location value, referrer where available, user-agent category, response size, and timing fields. A request identifier can help connect a redirect response with a later destination request when your infrastructure supports it.
Do not copy full URLs into every report by default. Query strings may contain identifiers, email addresses, tokens, or other sensitive values. Prefer approved campaign fields, hashed or redacted values where appropriate, and aggregated reporting. Retain raw logs only according to your documented operational and privacy requirements.
Separate redirect hits from people and conversions
A redirect hit is a request, not necessarily a person, visit, or qualified click. Crawlers, link scanners, browser prefetching, retries, and monitoring tools can all create requests. Similarly, analytics platforms may exclude consent-restricted sessions or fail to load when a script is blocked. Treat log volume, analytics sessions, and conversions as related but distinct measures.
Cadence and checkpoints
Use a recurring process rather than waiting for a complaint. The exact schedule depends on traffic and release frequency, but the following checkpoints work as a general baseline.
Weekly campaign check
- Review active campaign and short-link destinations for successful status codes.
- Compare redirect hits with analytics landing sessions for the same date range.
- Check that required UTM parameters remain present after the redirect.
- Sample the highest-volume links and test them in a clean browser session.
- Look for new destination errors, redirect chains, or unusual referrer changes.
Monthly redirect health report
Rank rules by requests, errors, latency, and business importance. Include new and retired rules, top source paths, destination response groups, campaign attribution rates, and a short list of exceptions. A report should show the comparison period and explain any changes to tracking conventions, consent settings, caching, or infrastructure that could affect the numbers.
Post-migration review
After a domain, platform, or URL migration, monitor the old-to-new mapping more frequently. Confirm that high-value old URLs return the planned status, resolve in one logical step, preserve necessary parameters, and reach equivalent content. Search Console or other search reporting can complement logs, while a migration redirect map provides the expected rule set for comparison.
High-volume sampling
At large sites, do not inspect every request manually. Group traffic by normalized source path, destination, status, referrer category, and user-agent category. Investigate the largest groups first, then sample individual requests within each group. Keep a separate exception list for sensitive paths, authenticated areas, and links that must never be logged with complete query values.
How to interpret changes
Traffic changes need context. A fall in redirect hits may mean a campaign ended, a partner changed its link, a DNS or forwarding rule failed, or tracking traffic shifted to a different host. An increase may reflect legitimate promotion, crawler activity, a redirect loop, repeated retries, or automated scanning.
Common patterns and next checks
- Redirect hits fall, but destination sessions remain stable: check whether links now point directly to the destination or whether reporting moved to another hostname.
- Redirect hits rise, but conversions fall: test the destination, inspect mobile and regional behavior, and compare campaign parameters before and after the change.
- Analytics sessions are much lower than log requests: segment automated clients, consent-limited sessions, failed script loads, and repeated requests before concluding that traffic was lost.
- One source path produces many status codes: inspect rule precedence, encoded characters, trailing-slash handling, case sensitivity, and deployment differences between servers.
- Latency increases across many rules: check DNS, edge configuration, application middleware, origin availability, and newly added redirect steps.
- A campaign loses its source or medium: inspect query-string preservation and any intermediate link-management, QR, email, or social platform behavior. The guide to handling query strings in redirects is a useful companion.
Escalate suspicious spikes when volume is concentrated on sensitive destinations, contains repeated malformed parameters, or changes rapidly without a corresponding campaign or release. Preserve a limited sample of relevant requests, redact personal data, and involve the security or infrastructure owner. If a rule accepts an arbitrary destination supplied by a query parameter, investigate it as a possible open redirect vulnerability rather than treating it as ordinary campaign traffic.
When to revisit
Revisit this workflow weekly for active campaigns, monthly for the general redirect inventory, and after any migration, domain change, analytics implementation change, CDN configuration update, or campaign-tagging revision. Review it quarterly even when traffic appears stable: remove obsolete links, confirm owners, verify retention and access controls, and update field definitions if your log schema or analytics interface has changed.
Keep a simple report with these columns: reporting period, source rule, redirect hits, status distribution, top referrer categories, parameter retention, median or grouped latency, destination response, attributed sessions, conversions, anomaly note, owner, and next action. Record the comparison period and the test URL used for verification.
Start with the ten most important links today. Export their redirect and destination data, test each path, document the expected result, and set a reminder for the next review. Over time, expand the inventory to migration rules, QR code destinations, branded short links, partner links, and legacy URLs. This turns redirect monitoring from a one-time troubleshooting task into practical link management and a reliable early-warning system for traffic loss.