GA4 top landing pages
ga4_top_pagesTop pages by sessions over the last N days (GA4 pagePath).
Returns one row per pagePath with sessions, activeUsers, screenPageViews, bounceRate, averageSessionDuration. These are not landing pages: a row's sessions are every session that viewed the page, from any channel, so a session is counted once on each page it visited. The rows add up to more than the site's total sessions (the gap grows with pages per session), and activeUsers repeat across rows the same way. Take totals from ga4_overview. To compare pages with Search Console clicks, use correlate_gsc_to_ga4, which counts Google organic sessions that landed on each page.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"property_id": "<property_id>"
},
"name": "ga4_top_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | lookback window (1-365), default 28 | |
| limit | No | max rows (1-1000), default 20 | |
| intent | No | Optional: the user's goal in a few words. No site names or URLs. | |
| end_date | No | optional YYYY-MM-DD. Alone, the window is `days` days ending on this date | |
| start_date | No | optional YYYY-MM-DD. With it the window is start_date to end_date (or today), and days is ignored | |
| property_id | Yes | GA4 property id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |