⚠️ 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": "08245320dbdca30e16b7d11c",
"ref": "fa4794f6907b0542514fa6cd",
"type": "example",
"createdAt": 1772375986270
}
}
Arguments
| Name | Type | Description |
|---|---|---|
type | String! | Type of event. |
data | JSON! | Event data in JSON format. |