get_user_engagement
Retrieve user engagement metrics including engaged sessions, bounce rate, average session duration, and screens per session from a Google Analytics 4 property.
Instructions
Get user engagement metrics (engaged sessions, bounce rate, avg session duration, screens per session)
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": {
"propertyId": "<propertyId>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "get_user_engagement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | End date in YYYY-MM-DD format | |
| startDate | Yes | Start date in YYYY-MM-DD format | |
| propertyId | Yes | GA4 Property ID |