Free AI search tool

GA4 AI Traffic Regex Generator

Pick the AI assistants you want to track and get a regex for a custom GA4 channel, so AI traffic stops hiding inside Referral.

Runs in your browser No sign-up Works with GA4 RE2
AI assistants to include

Each assistant adds the domains it sends visits from.

226 characters

Add it to Google Analytics 4

  1. 1 In Google Analytics 4, open Admin, then Data display > Channel groups.
  2. 2 Select Create new channel group and give it a name.
  3. 3 Select Add new channel, name it AI assistants, set the condition Source matches regex and paste your regex.
  4. 4 Use Reorder to move AI assistants above Referral, because GA4 assigns each session to the first channel that matches.
  5. 5 Save the group, then pick it in your Acquisition reports.

Why you need it

Why AI traffic needs its own channel

Google Analytics 4 has no built-in AI channel, so visits from AI assistants are easy to miss.

AI traffic hides in Referral

GA4 files visits from chatgpt.com or perplexity.ai under Referral, next to every other website that links to you.

Tagged links still match

ChatGPT adds utm_source=chatgpt.com to many links it shows, so the session source still reads chatgpt.com and the regex catches it.

Some AI visits look Direct

Some apps send no referrer at all, so those visits look like Direct. No regex can recover them, which makes your AI share a minimum.

GA4 AI traffic questions

How to track AI assistant traffic in Google Analytics 4.

Explore more free AI search tools

LLM Pulse is the all-in-one AI search and GEO platform. Use these free tools to audit how AI engines see your brand, then track it all in one place.

Free AI Visibility Report

See how often AI engines mention your brand across ChatGPT, Perplexity, and Gemini.

Brand Mention Checker

Check whether AI answers mention your brand for the prompts that matter.

Discoverability Checker

Measure how discoverable your brand is across AI engines.

ChatGPT Ads Library

Search ads observed in ChatGPT by advertiser, country, message, and date.

Agent Readiness Checker

Score your domain on the files, formats and interfaces AI agents look for.

GEO Crawlability Checker

Test whether AI engines can crawl and render your pages.

Robots.txt Checker

Check whether AI crawlers are allowed to read your site.

AI Robots.txt Generator

Choose which AI crawlers, search bots and assistants can read your site and get a ready robots.txt.

llms.txt Generator

Generate an llms.txt file so AI crawlers understand your site.

AI Training Data Checker

Check whether your site appears in Common Crawl, the open corpus that trains most AI models.

Site Structure Checker

Check whether your site structure helps AI engines understand you.

Schema Analyzer

Audit your structured data so AI and search engines understand your pages.

AEO Grader

Grade how well a page is optimized for AI answer engines.

Content Readiness Checker

See if your content is ready to be cited in AI answers.

ChatGPT Shopping Feed Checker

Validate your product feed for ChatGPT shopping results.

AI Text Cleaner

Remove hidden characters, odd spacing, and leftover formatting from pasted text.

AI Watermark Remover

Scan text for invisible watermark characters, decode hidden payloads, and strip them.

See your AI traffic without regex

LLM Pulse connects to Google Analytics 4 and other analytics tools, separates AI sessions by assistant and ties them to conversions and revenue.

Start Free Trial
14-day free trial
Cancel anytime

Not ready to buy yet? Schedule a demo and discover LLM Pulse with our founders