Google Analytics 4 Intelligence Skill
When to Use
- User asks for GA4 traffic, active users, sessions, pageviews, or user acquisition numbers.
- User wants conversion breakdown, device breakdown, or geographical traffic reports.
Core Rules for LLM Tool Calling
- Always use exact GA4 API field names: Use
activeUsers,sessions,screenPageViews,date,country,sessionSource. - Search schema if unsure: If user asks for a metric you don't know, call
search_schema(query="...")first. Do NOT guess field names. - Run query: Call
get_ga4_datawith dimensions, metrics, and start/end dates (e.g.2026-06-28to2026-07-04or7daysAgo).