ga_send_login
Track user logins by sending a login event to Google Analytics with the authentication method and optional user ID. Use this tool to measure authentication activity and user engagement.
Instructions
Send a login event to Google Analytics.
Standard event for tracking user logins with authentication method.
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": {
"method": "<method>"
},
"name": "ga_send_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | Login method (e.g., "Google", "Email", "Facebook") | |
| user_id | No | User ID (recommended for login events) | |
| client_id | No | ||
| user_properties | No | User properties (e.g., {subscription_tier: {value: "premium"}}) |