GA4 engagement by page
ga4_engagementPer-page engagement metrics. Useful for spotting pages that bring traffic but don't keep users.
Returns rows with pagePath, sessions, engagedSessions, engagementRate (0..1), averageSessionDuration (seconds), bounceRate (0..1), eventCount. Sorted by engaged sessions desc.
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_engagement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | lookback window, default 28 | |
| limit | No | max rows, 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 |