ga_send_pageview
Send page view events to Google Analytics to track page/screen visits, specifying the page URL and optional user, title, and referrer details.
Instructions
Send a page view event to Google Analytics.
Standard event for tracking page/screen views. Automatically uses 'page_view' event name.
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": {
"page_location": "<page_location>"
},
"name": "ga_send_pageview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | Optional User ID | |
| client_id | No | Client ID (auto-generated if not provided) | |
| page_title | No | Page title | |
| page_location | Yes | Full URL of the page | |
| page_referrer | No | Referrer URL | |
| user_properties | No | User properties (e.g., {subscription_tier: {value: "premium"}}) |