Empower your clients with standard monthly reporting and real-time AI Chat & Claude MCP queries—using Google's Open Knowledge Format (OKF) directly over the GA4 Data API.
A modern, lightweight approach to client analytics that gives AI agents true business context.
No need to set up complex, expensive BigQuery data streaming pipelines. We query Google's official ga_run_report API on-demand for fast, aggregated answers.
Open Knowledge Format provides a clean Markdown + YAML semantic blueprint. The AI agent instantly knows how your business defines "Leads", "AI Referrals", and key metrics.
Clients can view standard monthly dashboard cards or ask custom questions directly via an interactive web chat or connect via Claude Desktop MCP.
How a client prompt turns into an accurate, context-aware GA4 answer.
Client types a prompt in Web Chat or Claude Desktop (e.g. "How did AI referral traffic perform in June?").
Agent inspects okf/rules/ai_referrals.md to learn which referrer domains (ChatGPT, Perplexity, Claude) to filter.
Agent sends a precise, valid JSON request to ga_run_report for the client's GA4 Property ID.
Live JSON results are formatted into human-readable insights and interactive dashboard cards.
Click a sample prompt below to simulate how the OKF Knowledge Bundle guides the AI Agent.
Everything you need to know about implementing OKF with GA4.
ga_run_report) is much simpler, cheaper, and faster for standard reporting and Q&A.
if/else code blocks. Plus, LLMs read Markdown natively far better than code variables!
sessionSource matching these domains, the AI agent can track traffic, landing pages, and conversion rates specifically originating from AI assistants.