To set up GA4 AI referral tracking on an Indian WordPress site, go to GA4 Admin, open Data Display, select Channel Groups, and create a custom channel with a regex condition covering chatgpt.com, perplexity.ai, gemini.google.com, claude.ai, and copilot.microsoft.com. This custom channel surfaces AI referral sessions as a distinct row in your acquisition reports, separate from Direct and Referral, and applies retroactively to historical data.
Why Does GA4 Not Show ChatGPT and Perplexity Traffic by Default?
Most Indian WordPress site owners who have done any GEO or AEO work eventually ask the same question: if ChatGPT is supposedly citing my content, why can’t I see that traffic in GA4?
The answer is a combination of three problems specific to how AI platforms pass referrer data.
First, GA4 did ship a native AI Assistant channel group in May 2026. Good news. But it does not include Perplexity in its recognised sources, meaning Perplexity traffic still lands in generic Referral with no AI label. And it is not retroactive, so any AI sessions before May 2026 remain buried under Direct or Referral in your historical reports.
Second, ChatGPT’s mobile app strips the referrer header when opening external links. When a user on the ChatGPT app in India taps a link to your site, the referrer does not travel with the click. GA4 classifies the session as Direct. The only reason you can track ChatGPT at all is that OpenAI started appending utm_source=chatgpt.com to outbound citation links in 2025. Without that UTM parameter, ChatGPT desktop traffic would also disappear into Direct.
Third, Gemini, Claude, and Copilot do not consistently append UTM parameters. They depend entirely on the referrer header surviving the click, which does not always happen.
The practical result for an Indian WordPress site: if you rely on GA4’s default reports, you are likely undercounting AI referral traffic by 30 to 40 percent. The custom channel group setup below fixes this.
I’m Amrinder Singh, founder of Digi Ustad. Semrush AI Visibility certified, HubSpot AEO certified, 10 years in SEO. Digi Ustad’s own WordPress site confirmed utm_source=chatgpt.com sessions in live GA4 within 3 months of completing the GEO setup. Here is how to see the same data for your Indian WordPress site.
Step 1: Connect Google Analytics 4 to Your Indian WordPress Site
If GA4 is not yet installed on your WordPress site, start here. This step takes 10 minutes.
Via Google Site Kit plugin (easiest for Indian WordPress users): Go to your WordPress dashboard, install the Google Site Kit plugin (free), and connect your Google account. Site Kit installs the GA4 tag automatically across all pages. This is the recommended method for most Indian WordPress sites because it handles the gtag.js integration without touching your theme files.
Via Google Tag Manager: If your site already uses Google Tag Manager, create a new GA4 Configuration tag in GTM, paste your Measurement ID (format: G-XXXXXXXXXX), and set the trigger to All Pages. Publish the container. This method gives more flexibility for the advanced tracking setup later.
Verify installation: After installing, go to GA4 Realtime Report (Reports → Realtime) and open your WordPress site in a browser. Your session should appear in the Realtime report within 30 seconds. If it does, the tag is working.
Step 2: Set Up the Custom AI Referral Channel Group in GA4
This is the core step. A custom channel group in GA4 tells Analytics to classify sessions from AI platforms as a separate, named channel rather than dumping them into Direct or Referral.
How to create it:
- Open Google Analytics 4 and go to Admin (bottom left gear icon).
- Under Property, click Data Display.
- Click Channel Groups.
- Click Create New Channel Group.
- Name it: AI Referral Sources (or AI Traffic).
- Click Add New Channel.
- Name the channel: AI Search.
- Under Conditions, set:
- Condition type: Session source
- Match type: matches regex
- Value: paste this regex exactly:
chatgpt\.com|chat\.openai\.com|openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|bing\.com/chat
- Click Add Channel to save.
- Make sure this channel group is ordered ABOVE the default Referral channel in the list. Use the drag handles to reorder if needed.
- Click Save.
The channel group now applies to all incoming sessions. GA4 evaluates source conditions in order, so placing AI Search above Referral ensures Perplexity sessions (which GA4’s native channel misses) get classified correctly.
Step 3: Verify ChatGPT UTM Tracking Is Working
ChatGPT appends utm_source=chatgpt.com to outbound citation links. This means sessions from ChatGPT should already appear in your GA4 Traffic Acquisition report under Source / Medium as chatgpt.com / referral, even before the custom channel group is set up.
To verify:
- Go to GA4 Reports → Acquisition → Traffic Acquisition.
- In the breakdown dropdown, select Session source / medium.
- Search for “chatgpt” in the table filter.
- If you see chatgpt.com / referral in the results, ChatGPT is already sending trackable traffic to your Indian WordPress site.
If you see zero rows for chatgpt.com, one of two things is happening. Either your WordPress site is not yet appearing in ChatGPT citations (the GEO setup is incomplete), or your site is being cited but traffic is arriving without the UTM parameter (mobile app traffic) and landing in Direct.
Step 4: Build the AI Referral Report in GA4 Explorations
The Traffic Acquisition report shows aggregate data. For a more useful view showing which specific pages on your Indian WordPress site are being cited by AI platforms, use Explorations.
Setup:
- Go to GA4 Explore (left sidebar icon).
- Click Blank.
- Name it: AI Referral by Landing Page.
- In Variables panel, add these Dimensions: Session source, Landing page + query string.
- Add these Metrics: Sessions, Engaged sessions, Conversions.
- In Tab Settings, drag Session source to Rows. Drag Landing page to Rows below it.
- Drag Sessions to Values.
- In the Filters section, add: Session channel group exactly matches AI Search.
- Click Apply.
This report shows exactly which pages on your Indian WordPress site are receiving AI referral traffic and from which AI platform. For most Indian sites seeing early GEO results, the first pages to appear are FAQPage schema-enabled service pages and blog posts with Quick Answer blocks in the first 60 words.
Step 5: Set Up a GA4 Alert for AI Traffic Growth
Once AI referral traffic starts arriving, set a weekly intelligence alert so you are notified automatically when volumes change.
- Go to GA4 Reports → Insights (the lightbulb icon in the left sidebar).
- Click Create.
- Name it: AI Referral Weekly Alert.
- Set Evaluation frequency: Weekly.
- Set Metric: Sessions.
- Set Segment: Session channel group exactly matches AI Search.
- Set Condition: Is more than. Value: 0.
- Click Create Alert.
This means the moment AI platforms start sending any sessions to your WordPress site, GA4 will notify you. For Indian businesses in the early stages of GEO implementation, this alert is often the first confirmation that the robots.txt fix and Bing Places setup are producing results.
The Unique Insight: Why AI Traffic Appears in Direct First
Most Indian WordPress site owners who set up this tracking for the first time notice something unexpected: they find AI sessions under Direct in historical data, not under Referral.
This happens for a specific technical reason. When ChatGPT’s mobile app (which has significant usage in India given smartphone-first internet behaviour) opens a link to your WordPress site, the embedded browser strips the Referer HTTP header. GA4 receives the session with no referring source and classifies it as Direct. Even the utm_source=chatgpt.com parameter is only appended to some outbound links from ChatGPT, specifically citation links in desktop ChatGPT. Mobile app traffic and some plugin-based ChatGPT interfaces do not add the UTM.
The practical implication: your actual AI referral traffic is higher than what GA4 shows even after the custom channel group is set up. The custom channel group captures what it can see. It cannot capture sessions where both the referrer header and UTM parameter were stripped.
For Digi Ustad’s own WordPress site, the difference between the trackable AI sessions (chatgpt.com / referral in GA4) and the estimated total AI influence (including untrackable mobile sessions) is approximately 2 to 3 times. The trackable sessions are confirmed proof. The untrackable sessions are an educated estimate based on content citation patterns.
Digi Ustad’s own WordPress site went from 3 clicks to 197 clicks in 43 days, and the first confirmed AI referral sessions appeared in GA4 within 3 months of implementing the three-part GEO setup: robots.txt AI crawler access, FAQPage schema via RankMath, and Bing Places listing. The AI referral report was the confirmation that the work had produced measurable results.
AI Platform Tracking Comparison for Indian WordPress Sites
| AI Platform | Tracking Method in GA4 | Reliability | Notes |
|---|---|---|---|
| ChatGPT (desktop) | utm_source=chatgpt.com | High | UTM appended since 2025 |
| ChatGPT (mobile app) | Often missing | Low | Referrer stripped by app |
| Perplexity | perplexity.ai referrer | High | Consistent referrer header |
| Gemini | gemini.google.com referrer | Medium | Inconsistent |
| Claude | claude.ai referrer | Medium | Inconsistent |
| Copilot | copilot.microsoft.com | Medium | Bing-indexed content only |
The most trackable AI platforms for Indian WordPress sites right now are ChatGPT desktop (via UTM) and Perplexity (via consistent referrer). Setting up the custom channel group and monitoring these two sources gives a reliable baseline for measuring GEO results.
For the full GEO methodology for Indian WordPress sites, including robots.txt fixes, FAQPage schema, Bing Places, and llms.txt, see the India WordPress SEO AEO GEO.
FAQ: GA4 AI Referral Tracking for Indian WordPress Sites
Why is ChatGPT traffic not showing in my Indian WordPress site GA4?
ChatGPT traffic may be arriving but landing under Direct instead of as a referral. This happens when ChatGPT’s mobile app strips the referrer header and the UTM parameter is not appended. Create a custom channel group with a regex condition matching chatgpt.com and chat.openai.com. Also check that your WordPress site is not blocking GPTBot in robots.txt, which would prevent ChatGPT from crawling and citing your content in the first place.
Does GA4 have a native AI channel for tracking ChatGPT and Perplexity?
GA4 added a native AI Assistant channel group in May 2026. However it does not include Perplexity in its recognised sources, so Perplexity traffic still lands in generic Referral without the custom setup. The native channel is also not retroactive, meaning historical AI sessions before May 2026 remain in Direct or Referral in your reports. The custom channel group setup in this article catches both the native sources and the ones GA4 misses.
What is utm_source=chatgpt.com and how does it help with tracking?
ChatGPT began appending utm_source=chatgpt.com to outbound citation links in 2025. When someone clicks a link in a ChatGPT answer that leads to your WordPress site, GA4 receives this UTM parameter and correctly attributes the session to chatgpt.com as the source. This is the most reliable way to track ChatGPT traffic and is the main reason ChatGPT sessions are more trackable than Perplexity, Gemini, or Claude.
How do I know if my Indian WordPress site is appearing in ChatGPT?
Go to GA4 Reports, Traffic Acquisition, and filter Session source by “chatgpt.” If you see chatgpt.com / referral rows with session counts, your site is being cited and clicked on from ChatGPT. Also open ChatGPT directly and search for 5 of your target keywords to manually check if your content appears. Both checks together give a complete picture.
How long does it take for AI referral traffic to appear in GA4 after GEO setup?
For Indian WordPress sites with correct GEO implementation, including robots.txt AI crawler access, FAQPage schema, and Bing Places, the first trackable AI referral sessions typically appear in GA4 within 6 to 12 weeks. Perplexity citations often appear first, within 3 to 6 weeks. ChatGPT sessions appear later as ChatGPT’s crawl cycle is slower than Perplexity’s live web search.
Is GA4 AI referral tracking different for Hindi content on WordPress?
The GA4 tracking setup is identical for Hindi and English content. The difference is in what you find after tracking is live. Hindi content on Indian WordPress sites tends to receive AI citations faster than equivalent English content because there is significantly less competition in AI training data for Hindi queries. If your Indian WordPress site has Hindi FAQPage schema-enabled pages, check the Explorations report by Landing Page to see whether Hindi pages are receiving disproportionately more AI referral sessions than English pages.
Setting up this tracking takes 20 minutes. But it’s the 20 minutes that tells you whether your GEO work is actually producing measurable results or not. Without it, you are running a campaign with no measurement. With it, you have a live report showing exactly which pages AI platforms are citing and which need more schema, better Quick Answer blocks, or stronger entity signals.





