ga4_create_key_event
Creates a GA4 key event (conversion) on a specified property; write access and confirm=true are required to apply the change.
Instructions
[GA4 WRITE] Create a key event (conversion) on a GA4 property. Requires GA4_MCP_ENABLE_WRITES=true and confirm=true.
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": "<property>",
"eventName": "<eventName>",
"confirm": "<confirm>"
},
"name": "ga4_create_key_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Raw request-body object (JSON) merged OVER the typed fields — use for nested/advanced fields not exposed as flat args. | |
| confirm | Yes | Must be true to apply the change. | |
| property | Yes | GA4 property ID, e.g. "123456789" or "properties/123456789". | |
| eventName | Yes | The event name to mark as a key event (e.g. "purchase"). | |
| countingMethod | No | How the key event is counted. Default ONCE_PER_EVENT. |