Join the waitlist
Experiments & Traffic QualityQuick utility

Referrer host parser

Paste any raw HTTP referrer URL to extract its clean hostname, generate a lowercase normalized host for channel rules, and test self-referral exclusion.

Paste a referrer URL to normalize the host.

Next step after running this check

Runs locally in your browser with zero pasted content sent to SerpVI servers.

Why messy referrer URLs break attribution tables

Raw document.referrer values arrive with full query strings, uppercase domains, trailing DNS dots, missing schemes, and internal checkout hops from your own subdomains. Normalizing referrers to clean hostnames — and stripping self-referrals — is the foundation of trustworthy channel attribution.

Referrer hygiene troubleshooting matrix

Symptom in analyticsCommon causeFix
Your own domain in Top ReferrersMissing cross-subdomain exclusion (e.g., blog. → app.)Add all owned origins to your referral exclusion list.
checkout.stripe.com stealing conversionsHosted payment redirect starts a new referral sessionExclude payment gateways and track revenue via server-side webhooks.
l.facebook.com / t.co fragmentationSocial link wrappers hide underlying domain identityPair referrer normalization with clean lowercase UTM parameters.
High Direct share on newsletter sendsDesktop mail clients strip Referer headersTag outbound links with the UTM builder.

Worked normalization example

Worked example — Debugging a self-referral & AI host split:
  Site origins: https://acme.com, https://app.acme.com
  Input 1: "https://WWW.ChatGPT.com./c/abc123"
    → Normalized host: "www.chatgpt.com" (clean lowercase, trailing dot stripped → matches ChatGPT channel)
  Input 2: "https://app.acme.com/checkout/success"
    → Self-referral detected! Excluded from external referrer_host so original SEO source keeps revenue credit.

Connect host parsing to AI referral & UTM workflows

Next, verify whether your normalized host belongs to an AI answer engine in the AI referral host list, or inspect campaign query parameters with our UTM parser.

Related tools

Questions

What is the difference between raw hostname and normalized hostname?
Raw hostname preserves exact extracted host casing/format (capped to 120 characters for safe storage). Normalized hostname lowercases the domain and strips trailing dots so channel-matching rules (like AI referral lookups) match reliably.
What is a self-referral and why does it corrupt analytics?
A self-referral occurs when your own domain (or a payment checkout redirect back from Stripe/PayPal) shows up as the session referrer — hijacking conversion credit away from the original Google Search or social source.
Why do many mobile and app clicks arrive with an empty referrer?
Native mobile apps, strict Referrer-Policy: no-referrer headers, and HTTPS-to-HTTP downgrades strip the HTTP Referer header completely, forcing analytics platforms to bucket those visits as Direct.
Does this tool check whether a host is an AI referral channel?
This parser normalizes hostnames and checks self-referral collisions. To map a normalized host to ChatGPT, Perplexity, Claude, Gemini, or Copilot, use our AI Referral Host List.
Are pasted URLs uploaded anywhere?
No. Parsing runs 100% locally in your browser.