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 analytics | Common cause | Fix |
|---|---|---|
| Your own domain in Top Referrers | Missing cross-subdomain exclusion (e.g., blog. → app.) | Add all owned origins to your referral exclusion list. |
checkout.stripe.com stealing conversions | Hosted payment redirect starts a new referral session | Exclude payment gateways and track revenue via server-side webhooks. |
l.facebook.com / t.co fragmentation | Social link wrappers hide underlying domain identity | Pair referrer normalization with clean lowercase UTM parameters. |
| High Direct share on newsletter sends | Desktop mail clients strip Referer headers | Tag 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
- AI referral host list — Searchable directory of known AI chat and answer-engine referral hostnames with an instant host-to-channel checker.
- UTM parser — Paste a URL with UTM parameters to see each field, GA4 channel guess, and warnings for capitals or spaces that split reports.
- UTM builder — Build campaign links with consistent utm_source, utm_medium and utm_campaign values, with warnings for the mistakes that split your reports.
- Bot User-Agent classifier — Paste a User-Agent string to classify it as a declared crawler, automation/script client, or likely browser. Rules match serpvi’s signal list; heuristic only.
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.