Google Analytics report
get_analyticsA Google Analytics 4 report for a property the account connected: 'overview' (sessions, users, engaged sessions and key events by channel), 'landing_pages' (Organic Search sessions by landing page), 'sources' (sessions by source and medium), 'ai_referrals' (sessions sent by AI assistants such as ChatGPT, Perplexity, Claude and Gemini, by landing page) or 'key_events'. Give the site to find its property, or property_id; when neither matches, the answer lists the properties. days 1 to 365, ending yesterday.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| site | No | ||
| report | No | overview | |
| property_id | No |