Urgent.News

What's breaking now, across thousands of outlets.

AI

Tracking Traffic From ChatGPT, Perplexity and Gemini in GA4 and BigQuery

AI visibility metrics tell you how often assistants mention and cite you. Sooner or later someone asks the follow-up: does any of that turn into traffic? Part of the answer is already in your analytics, mixed into "Referral" alongside every other website. This post separates it out: a custom channel group in GA4 for AI assistants, a BigQuery query over the GA4 export that pulls AI-referred…

The article discusses methods for measuring the impact of AI assistants like ChatGPT, Perplexity and Gemini on website traffic. It begins by explaining how analytics can be used to track AI-referred sessions and landing pages, which are mixed in with other referral sources. A custom channel group for AI assistants is created in Google Analytics 4 (GA4) using a regular expression to match specific AI assistant domains.

This channel is placed above the Referral channel to ensure AI traffic is properly captured. The query is then run in BigQuery to pull AI-referred sessions and landing pages from the GA4 export. This allows for comparison between AI-cited pages and AI-clicked pages.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Claude Code 2.1.299 to 2.1.301 Changed How Your Hooks Behave: 7 Things to Recheck

Book: Prompt Engineering Pocket Guide Also by me: Thinking in Go (2-book series) — Complete Guide to Go Programming + Hexagonal Architecture in Go My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools Me: xgabriel.com | GitHub Since Claude Code 2.1.299, a UserPromptSubmit hook runs…

  • UserPromptSubmit hooks now run before skill expansion
  • Skills have their own UserPromptSubmit hook post-initial prompt
  • UpdatedInput field validation for PreToolUse and PermissionRequest hooks

More from Friday 16 October →