Search measurement field test

Will your redirects keep Google’s UK AI traffic marker?

A working page can still lose googsrc=ai-uk before analytics sees it. Use three routes, six tagged checks and a clean control to find where it disappears.

A working redirect can still break measurement

If your website sends a UK visitor from an old service URL to a new one, the page can load normally even though the redirect dropped Google's AI traffic marker. Test the journey before a migration or a change to URL rules, and test it again after release. Start with a deliberately tagged URL, follow every redirect, and compare the first request, the final URL and the data actually captured. A green test in only one of those places is not enough.

In documentation updated on 1 December 2026, Google Search Central explains that organic links from generative AI features in Google Search can carry googsrc=ai-uk when users in the United Kingdom click them. The examples Google gives include AI Overviews, AI Mode and generative features in Discover. The marker is not added to Google Ads links, and Google's documentation does not describe it as a way to identify the equivalent traffic for users outside the UK. The parameter does not change indexing or ranking. This guide concerns one practical question: does the website keep the information long enough for the intended measurement to happen?

That is not the same question as whether Google sent any real visitor to the test URL. You can append the marker to a link yourself to test your own system. The resulting visit is synthetic. Do not treat a marker on a visit as proof of origin without considering its context, and never put publicly shareable tagged test links in launch notes where they could contaminate later reporting.

Imagine a fictional UK training firm, Cairn Manager Training. It used to group its employer services under /workshops/. Under a new site structure, older URLs forward to pages organised by what an employer is buying. Its basic test confirmed that each old path redirected. Its better test asks whether a buyer who referred back to an old link would still reach a relevant service page and whether the platform marker would survive. That distinction matters on old URLs that might remain visible for a time as well as on current URLs that pass through standard host or path normalisation.

Choose three paths, based on the live deployment plan rather than a random sample from the sitemap. Pick one high-value legacy service URL, one current page that follows ordinary host or trailing-slash rules, and one old page whose redirect uses application logic instead of the same generic rule. For each, prepare two marked cases: a URL with only the Google marker and a URL where the marker is appended after an existing functional parameter. Google explicitly documents this possibility. Also open the untagged current destination as a negative control for the segment. Run the core test in the approved environment before launch, then repeat the exact relevant checks against the public configuration after launch.

Choose non-personal test values and routes you own. If your system supports a functional selector, choose values that represent visibly different outputs. In our hypothetical example, format=onsite means an in-person workshop and is expected to persist. A marker-retention fix that silently changes the requested delivery format is a product regression, even if the analytics segment suddenly works. In systems without functional parameters, use a known benign parameter that has an explicit preservation rule, not a secret, session identifier or arbitrary attempt to make the application react differently.

Separate the layers you are testing

LayerWhat to recordWhy it matters
Entry requestFull test URL, timestamp, intended destination and expected functional state.Establishes what you sent, not how a production visitor got there.
Each redirectStatus and resolved location, including the values retained, replaced or lost.Identifies the first failing rule rather than blaming whichever vendor owns reporting.
Final pageDestination URL at load, expected content and any client-side URL cleanup.Expresses what the buyer actually gets and whether a second loss can happen after HTTP routing.
CaptureThe authorised analytics view or debug evidence showing the first eligible page view and parameter capture; approved access-log evidence if available.Shows which observations the reporting setup can actually support.

Keep desktop and mobile coverage focused on behaviour that could differ. If the business has a device-specific redirect, a consent banner with different mobile behaviour, or a landing component that rewrites the query after render, include one representative mobile test for that path. A destination viewed in a desktop-only check says little about a mobile browser that gets a different route. Test within whatever consent modes your team needs to validate, without bypassing the visitor's choice.

Use browser developer tools or a route inspection tool available to your own team. Ask it to retain the network record during navigation. For a relative redirect location, compare the fully resolved next URL rather than treating a relative path as an error. Read the parsed key and value, not just a screenshot of the address bar. An encoded value that no longer parses as intended is not a successful preservation. Do not insist on a particular ordering of query parameters if the meaning is unchanged. A fragment after # is not a substitute for a query parameter and is not part of the HTTP request to your server.

A request can pass every server-side hop and still lose the marker before the first analytics event. For example, a landing page might run a cleanup script that replaces the address without doing a server redirect. Confirm the sequence in the browser. The same symptom can also come from analytics configuration that stores only the path or from a privacy feature that prevented capture. Start by identifying which layer produced the missing field. A debate about the right reporting tool won't fix a rule on the server, and a redirect change won't repair a segment built on an input that doesn't include the query string.

Worked example: two failures, different fixes

The following results are fictional. Each row is a deliberately requested URL; none is a customer visit or a claim about Search results. The firm wants a stable canonical service page, an intact buyer-facing choice when applicable, and the documented marker available to the first eligible page view for its own classification.

Route and inputObserved in testWhat changes
Legacy workshop path, marker onlyThe redirect points to the right page with a clean URL and no marker.Check the legacy redirect rule first.
Same path, format=onsite and markerThe intermediate location keeps the format but drops the marker.Confirm the rule retains the intended keys, not just the functional one.
Current service URL, marker onlyThe marker survives host normalisation, page load and the first eligible event.No redirect correction on this test path.
Current service URL, format and markerBoth values survive, and the page shows the selected format.Keep as regression coverage.
App-managed path, marker onlyThe page loads with the marker; a client cleanup removes it before capture.Check the approved order of classification and URL cleanup in the application.
App-managed path, format and markerThe same timing loss occurs. The format selection still renders correctly.Validate both behaviours together after the application change.

Four of the six cases fail the measurement acceptance test, but that fraction describes this small QA matrix. It does not estimate the percentage of real AI clicks lost. The working current route could account for most historical entries, or for almost none. Even actual entry records would show only the portion lawfully available and observable through the given configuration. What the test provides is concrete evidence that two routes need separate repairs and a precise way to check whether those repairs worked.

In the legacy fix, preserve the required marker through approved first-party redirects without making every submitted key a supported input. Review the intended query policy with the web team rather than blindly transferring arbitrary parameters to unrelated destinations. For the application route, determine whether the capture and cleanup sequence can be corrected inside your existing analytics and privacy choices. Do not store an entire URL, including unrelated sensitive fields, just to recover one indicator. Test route behaviour without assuming permission to use every data source the company technically controls.

What counts as a pass before you sign off?

Write a short acceptance rule in the launch ticket. For the three selected routes, both tagged variants must resolve to the explicit equivalent page. Any supported value that affects what the buyer sees must survive as designed. The first observable eligible measurement event must include the marker or documented classification derived from it. The clean control must remain outside the marked category. Record the route, expected and actual location, whether consent made capture eligible, and the relevant deployment version. Assign one owner to run the check and one to fix any failure; on a small team that can be the same person.

Break out an expected no-capture result. An approved consent-declined check might show a correct destination while analytics records no event. That is not the same as a missing marker when capture was authorised. If your own policy permits relevant first-party access logging, an authorised reviewer may be able to compare the entry and destination requests there; if it does not, stop at the observable browser evidence. In either case, avoid treating an unobserved analytics event as proof that consent handling malfunctioned or that there was no visit.

If the business cannot safely identify synthetic tests in production, use its test environment or a controlled verification workflow and document where that reduces certainty. If you must run a small public route check after launch, keep the observations labelled and do not introduce test rows into customer conversion analysis. If no one can verify the analytics capture independently, sign off the route only, not the whole reporting requirement. It is better to have one explicit follow-up than to relabel a partial pass as complete.

Do not turn this into an indexing or attribution claim

The clean destination remains the preferred stable URL. Keep its canonical signal and sitemap entry clean; the measurement marker does not belong in internal editorial links or canonical declarations. Consult Google's redirect documentation for the type appropriate to a permanent move. If a team is tempted to remove a useful redirect to simplify tracking, check what happens to actual buyers first. A clear route to an equivalent service page is more important than capturing a category from a broken page.

Google's traffic documentation also explains why its Search Console clicks and site-side observations need not match. A Search click is not the same as a site session. Pages can fail to load, privacy tools can suppress information, consent can restrict capture, and session definitions can aggregate events. The marker is specific to only part of Search traffic and does not label the precise generative surface. Start by asking whether both data sources are describing the same population and measure. If not, leave the difference visible rather than creating a made-up correction factor.

Likewise, a marker attached to a first page view tells you something about the URL, not what a visitor intended to buy. To connect a marketing observation with an enquiry later, keep that analysis separate. Compare confirmed form events with actual qualified enquiries only with the right permissions and denominator. To specify what a migration partner must deliver beyond redirects, use a website migration acceptance checklist. Neither the analytics report nor the migration brief needs to pretend this UK parameter is a ranking signal.

The one decision for the next release

Approve the migration only when the buyer can reach the right service with the right options and you can state exactly what your setup records. If the route is wrong, fix navigation. If the route is right and an allowed marketing marker is lost, locate and repair that hop or capture step. If the route and capture work but real reports still differ, investigate coverage and definitions before blaming the release. Three paths with two meaningful variants and a clean control can make all three answers much clearer than a dashboard screenshot.

After the first successful release, keep those cases in the next team's handover. Record why each path was selected, which configuration owns it, and the expected result if a supported choice is absent. A future change to host normalisation, consent scripts or URL cleanup can reintroduce the same failure without any change to the service page itself. If the buyer journey changes again, keep one original case to check the old route and add a single case for the new behaviour, so the evidence matures with the site.

Next step

Moving a site and want to test what buyers can actually reach?