GA4: Create key event
ga4_create_key_eventGA4 Key Event (Conversion) anlegen. counting_method: ONCE_PER_EVENT oder ONCE_PER_SESSION. property_id: die GA4-Property des Workspace (andere werden abgelehnt). Antwort: name (= Key-Event-ID properties//keyEvents/, für ga4_delete_key_event aufbewahren), event_name, counting_method. workspace: Slug des Kunden-Workspace (optional bei nur einem Workspace).
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_id": "<property_id>",
"event_name": "<event_name>"
},
"name": "ga4_create_key_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | ||
| event_name | Yes | ||
| property_id | Yes | ||
| counting_method | No | ONCE_PER_EVENT |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||