⚠️ Deprecated: No longer supported
registerEvent Mutation
Description
Registers an analytics or tracking event.
mutation registerEvent($type: String!, $data: JSON!) {
registerEvent(type: $type, data: $data) {
id
ref
type
createdAt
}
}
Variables
{
"type": "type",
"data": {}
}
Response
{
"registerEvent": {
"id": "2a3a36b45b30cce32302e800",
"ref": "33249f5b341ac09bb469cec2",
"type": "example",
"createdAt": 1748848573516
}
}
Arguments
| Name | Type | Description |
|---|---|---|
type | String! | Type of event. |
data | JSON! | Event data in JSON format. |