Why AI traffic loses its referrer
Several distinct mechanisms cause AI-sourced visits to arrive without attribution signals. Understanding them helps you appreciate why no simple UTM rule fixes the problem.| Cause | What happens |
|---|---|
| Server-side requests | AI agents fetch pages server-side; no browser referrer header is ever set |
| Referrer stripping | ChatGPT, Perplexity, and others deliberately strip or omit Referer headers |
| Click proxy | Clicks through AI chat interfaces pass through a proxy that removes the referrer |
| No UTM parameters | AI surfaces do not append UTM params to outbound links |
| HTTPS → HTTP redirect | Referrer is dropped whenever a redirect crosses protocol boundaries |
What dark traffic looks like before and after Asva
Without attribution, a meaningful share of your Direct channel is actually AI Commerce. Here is a representative before-and-after for a mid-size DTC brand:- Before Asva
- After Asva
How Asva identifies AI-sourced sessions
Asva’s attribution engine combines multiple signals to classify a session. No single signal is reliable on its own, so Asva weights them together and assigns a confidence score.Session fingerprinting
Timing and behavioral patterns differ measurably between AI-referred visits and organic direct visits.
Landing page signals
AI surfaces almost always deep-link to a specific product or category page, not the homepage.
UTM fallback
When an AI surface does pass partial UTM data (e.g.
utm_medium=ai), Asva captures and normalizes it.Known referrer domains
Recognized AI referrer domains —
chatgpt.com, gemini.google.com, perplexity.ai — are classified at high confidence when the header is present.Attribution is probabilistic for sessions with no referrer signal. Asva applies a confidence score to each classified session. Sessions below the confidence threshold are reported separately so you can review them. See How Asva’s Attribution Model Works for full details.
What you can measure after installation
Once the snippet is live, Asva surfaces the following in your dashboard and in GA4:- AI Commerce channel — a new named channel alongside Organic, Paid, and Direct
- Per-surface attribution — traffic broken down by ChatGPT, Gemini, Perplexity, and others where the referrer is detectable
- Product-level AI traffic — which products AI assistants recommend most
- AI-sourced revenue — conversion rate and revenue attributed to AI sessions
- Month-over-month trend — whether your AI traffic share is growing
Install the attribution snippet
Add the Asva snippet to your storefront<head> before any other analytics tags.
Replace YOUR_PROPERTY_ID
Find your Property ID in your Asva dashboard under Settings → Property. Replace
YOUR_PROPERTY_ID in the snippet with that value.Place it in your storefront
Paste the snippet inside the
<head> tag on every page of your storefront. For platform-specific placement, see the tabs below.- Shopify
- Google Tag Manager
- Other platforms
Go to Online Store → Themes → Edit code →
theme.liquid and paste the snippet inside the <head> block.Privacy and compliance
Asva’s attribution does not rely on third-party cookies. All session classification is:- Performed server-side on first-party data
- Free of personally identifiable information (PII)
- Compliant with GDPR, CCPA, and equivalent regulations
Next steps
GA4 Integration
Create custom dimensions and channel grouping rules so AI Commerce appears as a named channel in GA4.
How Asva's Attribution Model Works
Understand the signal tiers, confidence thresholds, and attribution windows Asva uses to classify sessions.