AI Attribution: How to Track Revenue from Claude, Perplexity & ChatGPT

MJ
Marcus Johnson
| 9 min read AI Attribution January 8, 2026

A fundamental shift is happening in how consumers discover and choose products. Instead of starting with Google, a growing number of users open ChatGPT, Claude, or Perplexity and ask: “What’s the best [product] for [need]?”

This creates both an opportunity and a challenge. The opportunity: AI recommendations carry significant influence. The challenge: traditional analytics tools have no way to attribute conversions to AI assistants.

This guide covers AI Attribution, the emerging practice of tracking and measuring revenue generated by AI assistant recommendations.

What is AI Attribution?

AI Attribution is the process of identifying when website visitors and conversions are influenced by AI assistants, and measuring the revenue impact of those recommendations.

Unlike traditional traffic attribution that relies on clear referral chains, AI Attribution must account for complex user journeys:

  • Direct referral: User clicks a link ChatGPT provides → Easy to track
  • Influenced search: User sees ChatGPT recommend a product, then searches for it → Harder to track
  • Brand awareness: User remembers a product mentioned by Claude, visits directly later → Very hard to track

Comprehensive AI Attribution attempts to capture all three scenarios.

Why Traditional Analytics Fail for AI Traffic

The Referrer Problem

When a user clicks a link in ChatGPT, the referrer header shows “chat.openai.com.” Google Analytics can capture this, but it’s just labeled as a referral, not distinguished as an AI recommendation.

When users don’t click links (copy/paste URL, type brand name, search), the referrer is lost entirely.

The Session Problem

AI-influenced journeys often span multiple sessions:

  1. Session 1: User asks ChatGPT about products (no website visit)
  2. Session 2: User searches for recommended brand (shows as organic)
  3. Session 3: User returns via direct and converts (shows as direct)

Traditional analytics sees session 3 as a “direct” conversion, missing the AI influence.

The Multi-Touch Problem

In reality, the conversion journey might include:

  1. Initial ChatGPT recommendation
  2. Google search for more info
  3. Retargeting ad click
  4. Final direct visit and purchase

Last-touch attribution credits the direct visit. First-touch credits the organic search. Neither recognizes the AI assistant that started the journey.

Building an AI Attribution Framework

Level 1: Basic Referral Tracking

The minimum viable approach tracks direct AI referrals:

// Track AI referrer on page load
const aiDomains = [
  'chat.openai.com',
  'chatgpt.com',
  'claude.ai',
  'perplexity.ai',
  'copilot.microsoft.com',
  'bing.com/chat',
  'bard.google.com',
  'gemini.google.com'
];

function getAIReferrer() {
  const referrer = document.referrer.toLowerCase();
  for (const domain of aiDomains) {
    if (referrer.includes(domain)) {
      return domain.split('.')[0];
    }
  }
  return null;
}

// Store and track
const aiSource = getAIReferrer();
if (aiSource) {
  localStorage.setItem('ai_first_touch', JSON.stringify({
    source: aiSource,
    timestamp: Date.now(),
    landing: window.location.pathname
  }));
}

Captures: Direct link clicks from AI interfaces Misses: Copy/paste, brand searches, delayed conversions

Level 2: Session Stitching

Persist AI attribution across the user’s session:

// On every page
function checkAIAttribution() {
  // Check if this session has AI attribution
  let aiData = JSON.parse(sessionStorage.getItem('ai_attribution') || 'null');

  // Check for new AI referral
  const currentAISource = getAIReferrer();
  if (currentAISource && !aiData) {
    aiData = {
      source: currentAISource,
      firstSeen: Date.now(),
      pages: []
    };
  }

  if (aiData) {
    aiData.pages.push(window.location.pathname);
    sessionStorage.setItem('ai_attribution', JSON.stringify(aiData));
  }

  return aiData;
}

// On conversion
function trackConversion(orderId, value) {
  const aiData = checkAIAttribution();

  const conversionData = {
    orderId,
    value,
    ai_attributed: !!aiData,
    ai_source: aiData?.source || null,
    ai_first_seen: aiData?.firstSeen || null,
    pages_in_session: aiData?.pages?.length || 0
  };

  // Send to your tracking endpoint
  sendToServer('/track/conversion', conversionData);
}

Captures: Multi-page journeys within the same session Misses: Multi-session journeys, brand searches

Level 3: Extended Attribution Windows

Persist AI attribution across sessions using cookies or localStorage:

// Store AI attribution with expiration
function storeAIAttribution(source) {
  const attribution = {
    source,
    timestamp: Date.now(),
    expires: Date.now() + (30 * 24 * 60 * 60 * 1000) // 30 days
  };
  localStorage.setItem('ai_attribution_extended', JSON.stringify(attribution));
}

// Check for AI attribution on conversion
function getExtendedAIAttribution() {
  const stored = JSON.parse(
    localStorage.getItem('ai_attribution_extended') || 'null'
  );
  if (stored && stored.expires > Date.now()) {
    return stored;
  }
  localStorage.removeItem('ai_attribution_extended');
  return null;
}

Captures: Multi-session conversions within 30 days Misses: Brand searches from users who never clicked an AI link

Level 4: Probabilistic Attribution

Advanced systems use statistical models to attribute likely AI-influenced conversions:

Signals that suggest AI influence:

  • User searched for brand name shortly after traffic spike from AI referrers
  • User agent/browser fingerprint matches recent AI referral visitors
  • Conversion followed product page view that ranks well in AI responses
  • User behavior matches patterns of confirmed AI-referred visitors

This requires significant data science investment but captures the fullest picture.

Implementing AI Attribution in Practice

For E-commerce Sites

Key conversion events to track with AI attribution:

  1. Product View: Did AI-referred users view specific products?
  2. Add to Cart: Are AI recommendations converting to cart additions?
  3. Purchase: What’s the revenue from AI-attributed orders?
  4. Average Order Value: Do AI-referred customers spend more?

For Lead Generation

Track the full funnel:

  1. Form View: Did AI traffic reach your lead forms?
  2. Form Start: Are AI-referred visitors engaging?
  3. Lead Submission: Lead volume from AI sources
  4. Sales Qualified: Do AI leads become qualified opportunities?
  5. Closed Won: Revenue from AI-originated leads

For SaaS

Focus on the signup and conversion flow:

  1. Pricing Page View: AI traffic viewing pricing
  2. Trial Signup: AI-attributed trial starts
  3. Activation: Did AI-referred trials activate?
  4. Conversion to Paid: Subscription revenue from AI

Measuring AI Attribution ROI

Key Metrics

AI Traffic Share

AI Traffic % = (AI-Referred Sessions / Total Sessions) × 100

Track this monthly. Growing AI share indicates increasing AI visibility.

AI Conversion Rate

AI CR = (AI-Attributed Conversions / AI-Referred Sessions) × 100

Compare to your overall conversion rate. AI traffic often converts higher due to the recommendation context.

AI Revenue Contribution

AI Revenue % = (AI-Attributed Revenue / Total Revenue) × 100

The ultimate measure of AI channel value.

AI Customer Quality

AI LTV = Average LTV of AI-Attributed Customers

Are AI-referred customers more valuable long-term?

Building a Dashboard

Track these metrics over time:

MetricCurrentLast Month3-Month Trend
AI Traffic %X%X%↑/↓
AI Conversion RateX%X%↑/↓
AI Revenue$X$X↑/↓
Top AI SourceChatGPT/Claude/etc

Optimizing for AI Attribution

Once you can measure AI attribution, you can optimize:

1. Create AI-Recommendable Content

AI assistants cite sources that provide clear, authoritative answers:

Structure for AI:

  • Clear question-answer format
  • Specific facts and statistics
  • Comparison tables
  • Step-by-step guides

Example:

Instead of:

“Our product is great for businesses of all sizes”

Write:

“Our product is designed for e-commerce businesses doing $500K-$5M in annual revenue, with features including X, Y, and Z at a price point of $X/month”

2. Strengthen Brand Authority

AI models weight brand authority heavily:

  • Earn coverage in industry publications
  • Build a strong backlink profile
  • Maintain consistent business information
  • Collect and display reviews
  • Publish original research

3. Optimize for AI Queries

Think about how people phrase questions to AI:

  • “What’s the best [category] for [use case]?”
  • “Compare [Product A] vs [Product B]”
  • “[Product Category] pros and cons”
  • “Is [Product] worth it for [user type]?”

Create content that directly answers these queries.

4. Monitor AI Recommendations

Regularly check what AI assistants say about your brand:

Monthly AI audit:

  1. Ask ChatGPT: “What are the best [your category] tools?”
  2. Ask Claude: “Compare [Your Brand] to [Competitor]”
  3. Ask Perplexity: “[Your category] recommendations”
  4. Document responses
  5. Track changes over time

Frequently Asked Questions

How much revenue is currently coming from AI?

This varies widely by industry. B2B SaaS and consumer electronics are seeing higher AI influence (5-10% of consideration-stage traffic). Other categories are lower but growing rapidly.

Can I influence what AI says about my product?

Not directly. But you can optimize your web presence to be more likely to be cited: strong content, clear product information, authoritative backlinks, and positive reviews all help.

Should I change my ad budget based on AI attribution?

Not dramatically yet. AI attribution is a growing channel, not a replacement for proven channels. Use AI attribution data to:

  • Value brand-building activities
  • Identify content gaps
  • Understand the full customer journey

How does AI attribution interact with my other attribution models?

AI attribution is typically a first-touch or early-funnel touchpoint. It often precedes:

  • Paid search clicks (users searching for recommended brands)
  • Organic traffic (users researching recommendations)
  • Direct visits (returning to consider purchase)

Consider using multi-touch attribution models that give partial credit to AI influence.

Is AI attribution GDPR/CCPA compliant?

Standard AI attribution uses the same data as any analytics tool (referrer headers, session data). It doesn’t collect additional personal information. Follow your normal consent and privacy practices.

Conclusion

AI Attribution represents a new frontier in marketing measurement. As AI assistants become a primary discovery channel, businesses that can measure and optimize for AI recommendations will have a significant competitive advantage.

Start with basic referral tracking to understand your current AI traffic. As volume grows, invest in more sophisticated attribution models that capture the full influence of AI recommendations on your revenue.

The businesses asking “how do we get ChatGPT to recommend us?” without any measurement system are flying blind. Build AI attribution into your analytics stack now, before your competitors do.


Convultra includes built-in AI Attribution that tracks revenue from ChatGPT, Claude, Perplexity, and other AI assistants automatically. See AI Attribution in action

MJ

Written by Marcus Johnson

Technical Writer

Contributing author at Convultra. Sharing insights on conversion tracking, marketing attribution, and growth strategies.

Enjoyed this article?

Get more conversion optimization tips delivered to your inbox weekly.