Table of contents
- 1. Key takeaways
- 2. Why AI traffic is hard to see
- 3. What GA4 shows by default
- 4. Step 1: Check your sources
- 5. Want GA4 set up with an AI channel and a clean report? Send your store link.
- 6. Step 2: Create a custom AI channel group
- 7. Step 3: Know what ChatGPT adds to links
- 8. Step 4: Build a simple report
- 9. Step 5: Cross-check in Shopify
- 10. Limits of AI traffic data
- 11. What to do with the data
- 12. What to do next
- AI traffic often gets lost inside generic Referral, Direct, or unassigned buckets in default GA4 dashboards.
- Creating a dedicated "AI Referrals" custom channel group with regex filtering isolates traffic from ChatGPT, Perplexity, Claude, and Gemini.
- Always position your AI channel rule above the default Referral channel to prevent standard rules from claiming visits.
- Cross-referencing GA4 purchase metrics with Shopify native orders provides a reliable lower-bound baseline for AI-driven revenue.
Create a custom channel group in GA4 with a source rule for AI platforms, put it above Referral, then compare sessions and purchases from AI sources. Sources report that GA4 added a native AI Assistant channel in May 2026 that may miss some assistants such as Perplexity, so verify in your own property.
Why AI traffic is hard to see
Thousands of shoppers now ask conversational models for product advice before making a purchase. However, if you inspect your standard Google Analytics 4 (GA4) dashboard, you will rarely see a dedicated line item for AI visitors. Instead, this high-intent traffic gets lumped into generic Referral, Direct, or Unassigned buckets.
Without clean attribution, ecommerce merchants cannot evaluate the return on investment from their GEO checklist or catalog optimization initiatives. Setting up discrete tracking allows you to identify exactly which AI engines send paying customers to your store.
What GA4 shows by default
While Google rolled out an experimental AI Assistant channel categorization in GA4, its automated classification rules are conservative. It frequently miscategorizes newer AI engines like Perplexity, Claude, or local assistant clients as standard web referrals, while visits originating from mobile app webviews frequently strip referrer headers entirely, falling into Direct traffic.
Step 1: Check your sources
Not sure which platform fits your store?
Tell us about your products and goals. We suggest a platform and share a clear quote.
Before creating custom channel rules, navigate to Reports > Acquisition > Traffic Acquisition in your GA4 property. Set the primary dimension to Session source / medium. In the search bar, filter for common AI keywords such as chatgpt, openai, perplexity, claude, copilot, or gemini.
You will likely find visits logged under mediums like referral or (none). Identifying the exact hostnames your store receives prepares your regex filter.
Want GA4 set up with an AI channel and a clean report? Send your store link.
Our technical analytics team will configure custom channel groups, event tracking, and conversion funnels to give you total visibility into AI sales.
Talk to Us ↗Step 2: Create a custom AI channel group
To isolate all AI traffic into a dedicated reporting channel, create a custom channel group:
- Navigate to Admin > Data display > Channel groups in GA4.
- Click Create new channel group (or copy your default group). Name it Custom Channel Group (AI Enabled).
- Click Add new channel and label it
AI Referrals. - Set the condition:
Session sourcematches regex. - Input the following regex pattern (ensure dots are escaped):
^(.*.)?(chatgpt.com|chat.openai.com|perplexity.ai|claude.ai|gemini.google.com|copilot.microsoft.com)$ - Crucial Step: Reorder your channels. Drag
AI Referralsabove the defaultReferralchannel. GA4 evaluates rules from top to bottom; if Referral sits higher, it will intercept the visit before the AI rule fires.
Step 3: Know what ChatGPT adds to links
When ChatGPT citations are clicked by users on desktop and mobile web, OpenAI automatically appends query tracking parameters to external links:
Because the utm_source parameter explicitly identifies chatgpt.com, your custom channel group will capture these visits cleanly even if the user’s browser strips the document referrer.
Step 4: Build a simple report
Create a dedicated exploration report in GA4 under Explore > Free form to monitor AI performance metrics side-by-side:
| Primary Dimension | Sessions | Engaged Sessions | Add to Carts | Purchases | Revenue ($) |
|---|---|---|---|---|---|
| chatgpt.com / referral | 1,240 | 890 (71.7%) | 142 | 48 | $5,640.00 |
| perplexity.ai / referral | 680 | 510 (75.0%) | 96 | 32 | $4,120.00 |
| claude.ai / referral | 290 | 195 (67.2%) | 28 | 9 | $1,180.00 |
| copilot.microsoft.com / referral | 210 | 140 (66.7%) | 19 | 6 | $790.00 |
*Sample data for illustration purposes. Monitor your own GA4 exploration over 30-day windows.*
Step 5: Cross-check in Shopify
Log in to your Shopify Admin and navigate to Analytics > Reports > Sessions by referrer. Filter for chatgpt or perplexity. Compare the order count and total sales with GA4. While slight discrepancies (typically 5–10%) are normal due to cookie consent preferences and ad blockers, the overall trends should align closely.
Limits of AI traffic data
Be aware of current tracking constraints:
- App-to-Web Gaps: When mobile users tap links inside native smartphone apps, referrer information is occasionally discarded, categorizing the shopper as Direct.
- AI Mode In-Engine Answers: Many searchers receive direct answers without clicking through to your site. This makes your baseline GA4 numbers a conservative lower bound.
What to do with the data
Once you identify your top landing pages for AI traffic, analyze user behavior. Optimize those specific pages using our Shopify SEO checklist and engage in comprehensive conversion rate optimization (CRO). If ChatGPT frequently sends users to a specific comparison guide, add prominent CTAs and clean product comparison matrices.
What to do next
Integrate your tracking with Google Merchant Center and ensure your product metadata supports agentic storefront interactions. Contact our Shopify SEO and technical analytics team to audit your attribution funnel today.