ga4_set_default_connection
Set Default Google Analytics Connection
Ga4Description
Set the Google Analytics connection that should be used by default for subsequent GA4 tool calls. The default is scoped to the calling actor (your user account, or the API key being used).
Read-onlyIdempotent
Usage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "ga4_set_default_connection",
"arguments": {
"connection_id": "00000000-0000-0000-0000-000000000001",
"reason": "User picked their primary Google Analytics workspace"
}
}
}
hopkin ga4 default-connection
| Flag | Type | Required | Description |
|---|---|---|---|
--connection-id | string | Required | UUID of the connection to mark as the actor's default Google Analytics connection. |
{
"mcpServers": {
"ga4": {
"url": "https://ga4.mcp.hopkin.ai",
"transport": "sse"
}
}
}
- Set default
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
connection_id |
string |
Required | UUID of the connection to mark as the actor's default Google Analytics connection. |
reason |
string |
Required | Why this tool call is neededminLength: 1, maxLength: 500 |
Examples
Set default
{
"connection_id": "00000000-0000-0000-0000-000000000001",
"reason": "User picked their primary Google Analytics workspace"
}
hopkin ga4 default-connection --connection-id 00000000-0000-0000-0000-000000000001