AI

How to Track AI Referrals in GA4 and Shopify

Blog Author Image
Brett Sirianni
Founder
May 12, 2025
Blog Thimble Image
AI visibility is meaningless if you can’t measure it.
If discovery is shifting toward AI systems, then brands need a way to track whether that visibility translates into traffic and revenue.
Here’s how to do it.

AI referrals don’t show up as a single clean channel in analytics.

They appear fragmented.

• ChatGPT.
• Perplexity.
• Gemini.
• Bing AI.

Depending on how the traffic is routed, they may show up as:

• Referral traffic
• Direct traffic
• Organic
• Or unclassified sources

The key is knowing where to look.

Step 1: Identify AI Referral Sources in GA4

In GA4, navigate to:

Reports → Acquisition → Traffic Acquisition
Filter by: Session Source / Medium

Look for sources such as:

• chat.openai.com
• perplexity.ai
• bard.google.com
• bing.com (AI-powered sessions)

Create a custom report that isolates these domains.

This becomes your early AI referral view.

Step 2: Build a Dedicated AI Channel Group

In GA4:

Create a Custom Channel Group.
Define rules that include:

Session source contains:

• chat.openai
• perplexity
• bard
• copilot
• gemini

Group them under: AI Referrals

This prevents them from being buried inside “Referral” traffic.

Step 3: Monitor Assisted Conversions

AI-driven discovery may not convert immediately.

Track:

• Assisted conversions
• Time to conversion
• First touch vs last touch attribution

AI often acts as an educational entry point.
Measure its influence — not just last-click revenue.

Step 4: Validate in Shopify

In Shopify: Go to Analytics → Reports → Sessions by Referrer
Search for:

• chat.openai
• perplexity
• bing
• google (AI-related referrers)

Cross-reference with GA4.

Look for emerging patterns.

Step 5: Standardize Your Dashboard

AI referral tracking shouldn’t live in a one-off report.

Build a standardized dashboard that includes:

• AI session volume
• Revenue from AI traffic
• Conversion rate
• Assisted revenue

Structure without measurement is speculation.

What to Expect

AI referral traffic will start small.
It may appear inconsistent.
But early signals matter.
As AI interfaces become more integrated into search and browsing behavior, referral patterns will compound.
The brands tracking this early will understand the shift sooner.

Visibility isn’t just about being recommended.
It’s about knowing when it happens.

— Brett Sirianni

Marlin Media

Share this story:
Blog Social IconBlog Social IconBlog Social Icon
More Article & blogs
Blog V1 Image

Master the fundamentals of Generative AI in just one day. Learn how to simplify and harness...

Blog V1 Image

When someone asks AI for a product recommendation, something interesting happens.

Just one more step to make your perfect choice. Click either button below to get started.