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