Worked example
Do your redirects preserve Google’s googsrc=ai-uk parameter?
Google adds googsrc=ai-uk to eligible organic links in its generative AI features for users in the United Kingdom. A redirect can drop that marker and still deliver the right page. To locate the loss, compare the URL your site receives with the one recorded for the page view.
01Announcement analysis
Where does the parameter disappear?
Local HTTP simulation · 5 December 2026
The script starts a local site and appends ?v=2&googsrc=ai-uk to four paths. The direct request to /p is the control. The other three paths redirect there in one hop. The client follows the Location header and checks that all four journeys return exactly the same product page.
| Start | HTTP status chain | Final URL |
|---|---|---|
| /p | 200 | /p?v=2&googsrc=ai-uk |
| /a | 301 → 200 | /p?v=2&googsrc=ai-uk |
| /b | 301 → 200 | /p?v=2 |
| /c | 301 → 200 | /p |
All three redirects have the same status chain. Only /a keeps both parameters. On /b the variant v=2 survives while the AI marker disappears. A check that looks only for the variant or a 200 status would miss the loss. On /c the redirect drops both parameters.
Link to these results02On your site
How can you check your site?
Check on your site
Choose a public URL that goes through a common redirect, such as a language redirect. Add googsrc=ai-uk and a harmless business parameter if the page accepts one. In browser developer tools, preserve the network log. Record the first URL, each Location header and the URL sent by the analytics tag when consent allows it to fire. Exclude your test click from reporting.
Expected result
Record the first point where the key googsrc or its value ai-uk disappears. A CDN that logs the arrival before a redirect may retain the signal even when the final page tag loses it. If no tag fires, the browser measurement remains unknown.
03Decisions
What should you do?
- A redirect drops the marker
- Find the first Location header that loses it. If you need the marker on the final page, adjust the rule to preserve this allowed parameter and those needed by the page. Repeat the test.
- The browser retains it but the page view omits it
- Check whether URL cleanup runs before the tag fires. Then check your analytics filters. Treat a tag that did not fire because consent was absent as a separate case.
- The marker is recorded
- Segment on the exact key googsrc and value ai-uk. When tracking a trend, keep the geography and measurement point consistent.
04Reproduce the test
Reproduce the experiment
Download the script and run the command in its folder with Python 3.9 or later. The temporary server listens only on your computer. The script prints the observations as JSON.
Download the Python script ↓python3 attribution-demo.pyView raw results (JSON)05Sources
What the source says
Google adds googsrc=ai-uk to eligible organic links for users in the United Kingdom, including links in AI Overviews, AI Mode and generative features in Discover. Google Ads links are excluded. Redirects and analytics settings can strip the parameter. Google says it has no effect on crawling, indexing or ranking. For a broader view, see the generative search performance report in Search Console.
Archived announcement excerpt (gzip) ↓
Google Search Central updates, December 2026 ↗
Archived announcement excerpt · SHA-256
55a383093bae9880661cd7c2e9ce059e0de45a80b3c5d388c5d5e7f6a9f15a13