Back to Blog
Analytics

AI Tracking Setup Guide: Measure ChatGPT and Perplexity Traffic

Step-by-step guide to tracking AI referral traffic in Google Analytics 4.

January 13, 20248 min read

You've optimized for AI search, but how do you know if it's working? This guide walks you through setting up comprehensive AI traffic tracking in Google Analytics 4.

What You'll Track

After this setup, you'll be able to answer: - How much traffic comes from AI assistants? - Which pages does AI send visitors to? - How does AI traffic convert compared to other sources? - Is AI traffic growing over time?

Step 1: Identify AI Traffic Sources

AI traffic appears in GA4 as referral traffic from specific domains: - ChatGPT: chatgpt.com, chat.openai.com - Perplexity: perplexity.ai - Claude: claude.ai - Bing Copilot: bing.com, copilot.microsoft.com

Step 2: Create AI Traffic Segment

In GA4 Explore, create a Session segment named "AI Referrals" with conditions for each AI source.

Step 3: Build Your Report

Add dimensions (Session source, Landing page) and metrics (Sessions, Engagement rate, Conversions) to understand AI traffic patterns.

Need help setting up AI tracking? [Contact us](/contact/).

AnalyticsGA4AI Marketing

Ready to Implement These Strategies?

Let Orivian Media help you build an AI-ready marketing system.