GEO-300 · Lesson 11 of 12 · Module 4: Observe and Operate · 2:58

AI referral plumbing

A click from an AI answer only shows as an AI visit if the plumbing keeps the source attached. Browsers default to strict-origin-when-cross-origin, sending only the origin across sites and nothing on an HTTPS-to-HTTP step, so serve HTTPS everywhere. ChatGPT appends utm_source=chatgpt.com; a redirect that drops the query string, a canonicalisation step, a consent wall or a geo-redirect to the home page loses it. Make sure landing pages exist, log the referrer and the UTM on the server, and test the path from an answer link to the final page. GA4's AI Assistant channel (as of 2026) can only see what survives.

Frame from lesson 11 of Sophyx Certified Technical GEO Specialist – Professional, "AI referral plumbing"

What you will learn

  • Trace an AI referral from the answer link to the landing page
  • Keep referrer and UTM through redirects and walls
  • Log the source server-side and test it

The one thing to remember

Keep the source attached, from the answer to the page.

Common mistake: A www-to-apex redirect that drops the query string

utm_source=chatgpt.com never reaches the page, so AI visits count as Direct.

The fix: Redirects that carry the query string, in one hop, over HTTPS.

Key terms

Referrer
The page a visitor came from, sent by the browser under the Referrer-Policy.
Query string
The part of a URL after the question mark, where utm_source travels; redirects can drop it.
Referral test
A scripted click from an AI link that checks the source survives to the final page.

Part of Technical GEO Specialist (GEO-300)

For developers and technical SEOs: build a site AI can fetch, read and act on, and keep it that way.

12 lessons, practice quizzes, a final exam and the Sophyx Certified Technical GEO Specialist – Professional certificate. Regular price USD 129. Your first certification is free. Free with any paid Sophyx plan.

Start the course free
Book a Demo