⚠️ 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": "445e6993ecde980cf4cce8fc",
"ref": "11b2dad9ed2518f8d9e422ca",
"type": "example",
"createdAt": 1753960830990
}
}
Arguments
| Name | Type | Description |
|---|---|---|
type | String! | Type of event. |
data | JSON! | Event data in JSON format. |