For the complete documentation index, see llms.txt. This page is also available as Markdown.

Google Analytics

Description

View traffic reports, analyze top pages, check real-time visitors, and explore audience data through natural conversation.

Prerequisites: Google Connect setup completed.


Extra Setup: Enable Two APIs

You need to enable two APIs in your Google Cloud project:

lightbulb
  1. Go to Analytics Data API and click Enable

  2. Go to Analytics Admin API and click Enable

That's it for setup.


Finding Your Property ID

Not sure which GA4 property to use? Just ask the AI:

List my GA4 accounts

The AI will show all properties you have access to, with their Property IDs. Pick the one you want to work with.


What You Can Do

Category
Examples

Traffic Overview

Total users, sessions, pageviews over any date range

Top Pages

Most visited pages, sorted by views or engagement

Source / Medium

Where your traffic comes from (Google, social, direct, etc.)

Real-time

Who's on your site right now

Audience

Demographics, device types, geographic breakdown

Presets

Common reports like "weekly summary" or "monthly overview"


Sample Prompts

What you want
Try saying

Traffic overview

"How much traffic did my site get this week?"

Top pages

"What are my most visited pages?"

Traffic sources

"Where is my traffic coming from?"

Real-time

"How many people are on my site right now?"

Compare periods

"Compare this month's traffic to last month"

Specific page

"How is my /blog page performing?"

Weekly summary

"Give me a weekly traffic summary"


Troubleshooting

"API not enabled"

You missed one of the two APIs. Make sure both are enabled:

"Property not found"
  • Run "List my GA4 accounts" to see which properties your account has access to.

  • Make sure you're using a GA4 property, not a Universal Analytics property (UA-xxxxxx). Universal Analytics is no longer supported.

"Permission denied"
  • Your Google account needs at least Viewer access to the GA4 property.

  • Ask the property admin to grant you access in Google Analytics under Admin > Property Access Management.

Last updated