How do you monitor AI traffic in Google Analytics 4?
GA4 doesn't natively detect AI bots, they're excluded by default from traffic. To monitor: create custom segment based on user-agent (GPTBot, ClaudeBot, PerplexityBot), or use third-party tool (Cloudflare AI Audit, Dark Visitors). For "via ChatGPT" human traffic, filter referral domain chatgpt.com, perplexity.ai, claude.ai.
How do you monitor AI traffic in Google Analytics 4, according to PROEMA?
Two distinct traffic types to monitor. (1) AI bot traffic (GPTBot etc. crawling for training/citation), not visible by default in GA4 which filters bots. Solutions: (a) custom event via Tag Manager detecting AI user-agents server-side, (b) Cloudflare AI Audit measuring all, (c) server log parsing via GoAccess. (2) Human LLM referral traffic (users clicking link from chatgpt.com), visible in GA4 Acquisition → Traffic. Create "LLM Referral" segment filtering chatgpt.com OR perplexity.ai OR claude.ai OR mistral.ai OR gemini.google.com. PROEMA recommended setup: Cloudflare AI Audit (Pro plan free) for bots + custom GA4 segment for human referral. 2026 target: 5-15% of site traffic from LLM referrals for well-optimized francophone B2B brands.
Technical detail moving the LLM needle on How do you monitor AI traffic in Google Analytics 4
Three often-forgotten fragments tip citation outcomes. (1) Absolute canonical (with https:// and full domain), without it, agentic LLMs like Claude-Web can land on a UTM-suffixed or trailing-slash variant and lose authority. (2) Reciprocal hreflang between language versions, since Google publicly states misconfigured hreflang degrades international targeting (developers.google.com/search). (3) JSON-LD Schema.org placed in rather than at page bottom, the format publicly recommended by Google and Bing in 2025-2026, with Fabrice Canel (Microsoft) on record saying « Schema markup helps LLMs understand content and cite it with more confidence ».
How to audit How do you monitor AI traffic in Google Analytics 4 in under an hour
Three tools cover any page. (1) Google Rich Results Test to validate Schema.org and surface JSON-LD errors. (2) Schema.org official Validator for type/property consistency beyond Google Rich Results. (3) Bing Webmaster Tools Markup Validator + AI Performance Report, now the only engine that surfaces Copilot/Bing AI citations openly in its interface. Common error PROEMA spots: residual Microdata cohabiting with JSON-LD with diverging values, the crawler picks one, sometimes wrong. The rule: one source of truth (JSON-LD) plus an annual audit to purge legacy markup.
30-minute self-audit on How do you monitor AI traffic in Google Analytics 4
Open your home page in a fresh tab, hit F12 (DevTools) → Elements tab → search « application/ld+json ». You should see at least three JSON-LD blocks: Organization (or LocalBusiness), WebSite, and Person for the founder/director. Missing one? That's a citation-rate gap. Same drill on a content page: FAQPage + Article + Author Person with sameAs. Two minutes per page, thirty minutes for the top ten pages of the site. This single audit surfaces 80 % of the Schema.org issues PROEMA finds in initial diagnostics.
| Traffic source | Measurement tool | Configuration |
|---|---|---|
| AI bot crawls | Cloudflare AI Audit | Pro plan $20/mo |
| AI bot crawls | Server logs (GoAccess) | Open source |
| Referral chatgpt.com | Custom GA4 segment | "Source contains chatgpt" |
| Referral perplexity.ai | Custom GA4 segment | "Source contains perplexity" |
| Click to chatgpt.com | GA4 Event Tracking | Outbound click handler |