LLM Referrals

AttractOS automatically detects traffic from 15+ AI services including ChatGPT, Claude, Perplexity, Gemini, and Copilot. When a user clicks a link in an AI response, AttractOS identifies the source, tracks the landing page, and enables conversion attribution back to the AI service that sent the traffic.

Supported LLM Sources

AttractOS detects referrals from these AI services automatically:

ChatGPT OpenAI
chat.openai.comchatgpt.comopenai.com
Claude Anthropic
claude.aianthropic.com
Perplexity Perplexity AI
perplexity.ai
Gemini Google
gemini.google.combard.google.com
Copilot Microsoft
copilot.microsoft.com
Meta AI Meta
meta.ai
Grok xAI
grok.x.ai
You.com You.com
you.com
Phind Phind
phind.com
Kagi Kagi
kagi.com
Brave Leo Brave
search.brave.com
DuckDuckGo AI DuckDuckGo
duckduckgo.com

How Detection Works

1

User asks AI a question

"What's the best software for X?"

2

AI cites your content

Response includes a link to your site

3

User clicks the link

Browser sends referrer header

4

AttractOS detects source

Matches referrer to known LLM domain

Detection Priority

  1. Referrer header — Primary detection method
  2. UTM parametersutm_source, via, ref, source
  3. Path patterns — e.g., bing.com/chat for Copilot

Manual Attribution

If automatic detection doesn't work (blocked referrers, custom AI apps), use UTM parameters:

https://yoursite.com/page?utm_source=chatgpt
https://yoursite.com/page?utm_source=claude
https://yoursite.com/page?via=perplexity

# Supported parameter names:
# utm_source, via, ref, source

# Supported values match LLM source names:
# chatgpt, claude, perplexity, gemini, copilot,
# meta-ai, grok, you, phind, kagi, brave-leo, duckduckgo-ai

Visitor Attribution

When AttractOS detects an LLM referral, it:

  1. Records the referral event with source, page path, and timestamp
  2. Generates a random visitor ID (stored in localStorage)
  3. Associates the visitor with their "first-touch" LLM source
  4. Attributes future conversions to that source

This means if someone arrives via ChatGPT, browses around, and converts later—the conversion is attributed to ChatGPT.

Dashboard Metrics

Your referrals dashboard shows:

  • Total referrals — All LLM clicks in the selected period
  • Source breakdown — Which AI services send the most traffic
  • Landing pages — Which pages get cited most often
  • Conversion rate — What percentage of referrals convert
  • Attributed revenue — Value generated from each source (if tracking value)

API Access

Query referral data programmatically:

# Get referral breakdown
curl -X GET "https://attractos.com/api/v1/sites/{siteId}/stats" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Response includes:
{
  "totals": {
    "referrals": 342,
    ...
  },
  "referral_breakdown": [
    { "source": "chatgpt", "count": 156 },
    { "source": "perplexity", "count": 89 },
    { "source": "claude", "count": 52 },
    ...
  ]
}

Frequently Asked Questions

How does AttractOS detect LLM referrals?
When a user clicks a link from an AI service to your site, the browser sends a Referer header. AttractOS checks this header against known LLM domains like chat.openai.com, claude.ai, and perplexity.ai. We also check UTM parameters for attribution.
What if the referrer is blocked or empty?
Some browsers and privacy extensions strip referrer headers. For these cases, you can pass attribution via UTM parameters: ?utm_source=chatgpt. Our script also checks these parameters.
Can I track referrals from custom AI applications?
Yes. Have the AI application add a UTM parameter to outbound links: ?utm_source=your-ai-app. Contact us to add your domain to our automatic detection list.
How long until I see referrals in my dashboard?
Referrals appear in real-time, within seconds of the click. If you're not seeing referrals, verify your tracking script is installed correctly using the Network tab in DevTools.
Bot Traffic by AttractOS