AI Search for D2C. Measurement and Growth

Perplexity and ChatGPT Traffic for Your D2C Website: How to Get It and Track It in GA4

7 steps
From Admin settings to a landing page and purchase report
15 min
To build the GA4 view that isolates it
1 regex
Covers ChatGPT, Perplexity, Gemini, Copilot, Claude and more
Above Referral
Where the AI channel has to sit, or Referral swallows it

Quick answer

To get Perplexity and ChatGPT traffic to a D2C store, let their crawlers read your product pages, put price, specs and reviews in plain HTML with Product schema, publish honest comparison content, and get mentioned on the review sites and forums these assistants pull from. To track it, create a custom channel group in GA4 (Admin, Data display, Channel groups) with an “AI Assistants” channel whose source matches a regex of AI domains, move it above Referral, then build an Exploration of landing pages and purchases. Treat the number as a floor: plenty of AI clicks still land as Direct.

There’s a new traffic source growing in your analytics right now, and until recently GA4’s default reports hid it inside the referral bucket. Visitors arriving from ChatGPT, Perplexity, Gemini and Copilot click through when an assistant cites you. The numbers are small on most sites. The trend line and the visitor quality still deserve their own measurement.

Why it matters: a shopper who asked an assistant “which sunscreen won’t leave a white cast” and got your product in the answer has already done most of their research. For a D2C brand, that’s the visitor you want more of, so you need to know how many arrive, where they land and whether they buy.

Below: the GA4 setup first, then what actually helps a D2C store get cited, including the parts nobody can prove yet.

Does GA4 Track ChatGPT and Perplexity Traffic on Its Own Now?

Partly. Google has added an AI Assistant channel to GA4’s Default Channel Group. When GA4 recognises the referrer as an AI assistant, it sets the medium to ai-assistant and the session lands in that channel, which sits above Referral in Google’s rule order. Google’s default channel group documentation names ChatGPT, Gemini, DeepSeek, Copilot and Grok as examples. It doesn’t name Perplexity.

So why build anything yourself?

  • Perplexity isn’t on Google’s list. For a D2C brand it’s often the second-biggest AI source, and Google doesn’t say whether it’s covered. A custom regex that includes perplexity.ai is how you make sure it’s counted.
  • You control the definition. Google hasn’t published its full list. Your own regex means you decide what counts, can check it, and can add new assistants as they appear. Custom channel groups can also be applied to your reports retroactively, so check your older months in both views.
  • AI Overviews and AI Mode are excluded. Those clicks still arrive as google / organic. Nothing in GA4 separates them, and your custom group won’t either.

Run both, and compare them. Your custom group is the one you control.

How to Track Perplexity and ChatGPT Traffic in GA4, Step by Step

You need Editor access on the GA4 property. No code, no Tag Manager. A standard property allows two custom channel groups, so if you’ve already used both, edit one of them instead of creating a third.

1
See which AI sources already send you visits

Open Reports, Acquisition, Traffic acquisition. Switch the table dimension to Session source / medium and type chatgpt, then perplexity, then gemini into the search box. Note every exact source value you see (for example chatgpt.com / referral, chatgpt.com / (not set), perplexity.ai / referral). These are the strings your regex has to catch.

2
Create a custom channel group

Go to Admin, then Data display, then Channel groups, and click Create new channel group. GA4 copies the default channels into it. Name it something you’ll recognise in a dropdown, like “Channels with AI”.

3
Add an “AI Assistants” channel with a source regex

Click Add new channel and name it AI Assistants. Set the condition to Source, matches regex, and paste the pattern below. Then add a second condition group joined with OR: Medium exactly matches ai-assistant, so sessions Google has already tagged land here too. Save the channel.

4
Move it above Referral

GA4 puts each session into the first channel whose rule matches, top to bottom. Click Reorder, drag AI Assistants above Referral (I put it near the top, above Organic Search as well), click Apply, then Save the group. Leave it at the bottom and every AI visit gets swallowed by Referral before your rule is even checked.

5
Switch your acquisition report to the new group

Back in Traffic acquisition, open the dimension dropdown above the table and pick Session primary channel group for “Channels with AI”. Widen the date range. Because custom groups apply retroactively, AI Assistants now shows up in past months too.

6
Build an Exploration for landing pages and purchases

Go to Explore, start a Free form. Dimensions: Landing page + query string, Session source, Month. Metrics: Sessions, Engaged sessions, Key events, Ecommerce purchases (or Transactions) and Session key event rate. Filter on your custom channel group exactly matching AI Assistants. Rows: landing page. Columns: month.

7
Compare against your site average, then study the landing pages

Duplicate the tab, remove the filter, and compare key event rate against all traffic. Then read the landing page list closely. It’s your citation footprint: the content AI systems treat as reference-worthy, and the template for what to make more of. This single report has reshaped content plans for my clients more than any keyword tool this year.

The regex for step 3. It covers the assistants that send measurable referral traffic today; add anything new you spot in step 1.

(.*\.)?(chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|chat\.deepseek\.com|grok\.com|meta\.ai|you\.com)

The (.*\.)? at the start catches subdomains such as www.perplexity.ai. Don’t shorten it to plain words like gemini|copilot: you’ll pull in unrelated sources that happen to contain them.

Tracking AI referrals in GA4From raw sources to a report that shows the new channel. Illustrative.1Find the AI sourceschatgpt.com, perplexity.ai, gemini.google.com and kin2Custom channel group with a source regexplus medium exactly matches ai-assistant3Move it above Referralfirst matching rule wins4Explore landing pages and purchasesmonthly trend against your site averageRamKrShukla.com
From raw sessions to an AI referral report. Illustrative.

Why Some AI Clicks Still Show as Direct or Unassigned

Whatever your AI Assistants channel shows is a floor. A chunk of real AI-driven visits will never carry a clean signal, for a few reasons:

  • Copy and paste. Someone copies your URL or brand name out of an answer and types it into a new tab. No referrer, so GA4 calls it Direct.
  • Apps and stripped referrers. Links opened from mobile apps, or links marked noreferrer, often arrive with no referrer at all.
  • ChatGPT’s UTM tag without a medium. Since mid-2025 ChatGPT adds utm_source=chatgpt.com to many of the links it cites, but no utm_medium. In the old default grouping that lands in Unassigned. Your source regex catches it either way.
  • Google’s own AI answers. Clicks from AI Overviews and AI Mode come through as Google organic. Search Console reports them inside normal Search data, mixed with everything else.

The cheapest patch is a “How did you hear about us?” question after checkout, with ChatGPT and Perplexity as options. Imperfect, but it tells you something GA4 can’t.

Reading the Numbers Honestly

MetricHow to read it
VolumeSmall today almost everywhere. Single digit percentages. The trend is the story, not the total
Conversion rateOften above site average, since pre-sold visitors behave like referrals from a trusted friend. Check yours rather than assuming it. With small samples, check it over a quarter before you trust it
Landing pagesComparisons, definitive guides, and original data get cited. Thin collection and service pages rarely do
Month over monthThe only chart worth presenting. Screenshot it quarterly; the compounding makes the argument for you

“Nobody reported on organic search traffic in 1999 either. The brands that measured it early built the playbooks everyone else bought later. AI referrals are that moment again, with a fifteen minute setup cost.”

Ram Kr Shukla, SEO and Growth Consultant

How Do You Get Traffic From Perplexity to a D2C Website?

You get it by being one of the sources Perplexity reads and trusts when a shopper asks a product question. Perplexity runs a live web search for most answers and cites the pages it used, and ChatGPT search works much the same way. Here’s what I’d check first on a D2C store.

1. Let the AI crawlers in

Perplexity indexes with PerplexityBot, which follows robots.txt. ChatGPT search uses OAI-SearchBot. If either is blocked, you can’t be cited from your own site. Check robots.txt, then check your CDN or firewall: some bot-protection settings block AI crawlers by default, and store owners often don’t know it’s switched on. You can block training crawlers like GPTBot separately without touching the search ones.

2. Put the product facts in plain HTML

Price, availability, size, ingredients or materials, who it’s for, shipping and returns. If those only appear after JavaScript runs, or live inside an image, assume an assistant can’t use them. Add Product schema with offers, GTIN where you have one, and aggregateRating built from real reviews. It won’t guarantee a citation. It does remove one reason to skip you.

3. Publish the comparison content shoppers ask about

People ask Perplexity “X vs Y”, “best X for oily skin”, “is X worth it”. Pages that answer those questions directly, with a clear verdict near the top and honest trade-offs (including where a competitor fits better), are the ones that get pulled into answers. A collection page with forty product tiles and two lines of copy usually isn’t.

4. Get talked about where Perplexity looks

In my research on which brands ChatGPT, Perplexity and Gemini recommend, the pattern was clear: assistants repeat consensus. They lean on review roundups, editorial “best of” lists, Reddit threads, marketplace listings and YouTube reviews. If your brand isn’t on those, your own site has to work much harder. Check which sources Perplexity cites for your category’s top questions, then earn a place on them.

5. Know where Perplexity Shopping stands

Perplexity runs a free merchant program for its shopping results, but it’s aimed at businesses that sell and ship to the US. If you’re an Indian D2C brand selling only in India, that route isn’t open yet, and your citations will come from ordinary answers instead.

What’s still unproven

Neither Perplexity nor OpenAI publishes how sources are chosen. Schema, FAQ blocks and llms.txt are sensible hygiene, but there’s no public evidence that any one of them causes citations. Answers also change from one run to the next. That’s exactly why the GA4 setup above matters: it’s how you find out whether your changes did anything.

Clicks and mentions are different things. To see whether ChatGPT names your brand at all, even when nobody clicks, use the free AI visibility tracker I’ve published. For the wider discipline, see generative engine optimisation.

What to Do With the Numbers Once You Have Them

Once the measurement exists, it changes decisions. The landing page report feeds your content plan. The conversion data justifies AI visibility work to whoever owns the budget. And the baseline lets you judge whether citation work moves anything at all. Measurement first, then optimisation has something to answer to.

For most D2C brands, AI referrals are a small add-on to an organic channel that still has to be built properly. If you’re paying for every visitor today, this D2C case study shows how a paid-only brand grew organic traffic 218% and revenue 5x in 18 months, which is the foundation AI citations sit on.

Want the full AI visibility measurement stack installed?

I set up AI referral tracking, citation monitoring across assistants, and the quarterly baseline test as part of every AI SEO engagement. Know your numbers before your competitors know theirs.

Explore AI SEO ServicesBook a Free Strategy Call

Frequently Asked Questions

How do I measure traffic and conversions from Perplexity in GA4?

Build a custom channel group with an AI Assistants channel whose source regex includes perplexity.ai, move it above Referral, then filter a Free form Exploration to that channel with key events and purchases as metrics.

Does GA4 track ChatGPT traffic automatically now?

Partly. Google has added an AI Assistant channel to the default channel group for sources like ChatGPT and Gemini. Google’s list doesn’t name Perplexity, so a custom group with your own regex is still worth building.

Why does ChatGPT traffic show up as Direct or Unassigned?

Direct means no referrer arrived: copied links, some app clicks, noreferrer links. Unassigned comes from ChatGPT adding utm_source=chatgpt.com without a utm_medium. A source regex catches the Unassigned ones.

What regex should I use for AI referral traffic in GA4?

Use (.*\.)?(chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|chat\.deepseek\.com|grok\.com|meta\.ai|you\.com) on the Source field, plus any other AI sources in your own data.

Can I see AI traffic from before I set up the channel group?

Yes. Google says custom channel groups can be applied to your reports retroactively, so past months show up under your AI Assistants channel.

How do I get my D2C products recommended by Perplexity?

Let PerplexityBot crawl your site, put product facts in plain HTML with Product schema, publish honest comparison content, and earn mentions on the review sites and forums Perplexity cites. None of it guarantees a citation.

Can Indian D2C brands use Perplexity Shopping?

Not directly for now. Perplexity’s merchant program is aimed at businesses that sell and ship to the US. Brands selling only in India can still be cited in normal Perplexity answers, which link to your pages.

Does traffic from Google AI Overviews show up in the AI channel?

No. Google excludes AI Overviews and AI Mode from that channel. Those clicks arrive as normal Google organic traffic and GA4 can’t separate them.

Tags: GA4AI ReferralsPerplexityD2CAI SEO

RS

Written by Ram Kr Shukla

SEO and growth consultant with 20+ years across global marketplaces, travel, BFSI and e-commerce, and 50+ brands. Google Analytics and Google Ads certified, Google Partner. Works in GA4 and Google Search Console daily, and today focuses on e-commerce and AI search.

Client Results, Not Claims

5x D2C revenue in 18 months via SEO
10x SaaS trials, zero new blog posts
120K Monthly organic visitors from zero

Free Resource

Steal My 40 Point SEO Audit Checklist

The exact list I run on every paid audit. Score your site in 30 minutes.

Get the checklist →

Is your site invisible to AI search?

Ask ChatGPT to recommend brands in your category. If you are not the answer, we should talk.

Book a Free Strategy Call