events tracking Developing
Run in Apidog
Tracks impression/click events for ads, posts, comments and arenas. Anonymous tracking is allowed for non-ad content; any request containing billable ad events (ad keys with count > 0) requires a valid access token and fails with 401 otherwise.
Request Body Params application/json Required
{
"ad" : {
"ad1234" : {
"seen" : {
"count" : 1
} ,
"click" : {
"count" : 2
} ,
"placement" : "for-you" ,
"arenaId" : "arena123"
} ,
"ad1235" : {
"seen" : {
"count" : 4
} ,
"click" : {
"count" : 1
} ,
"placement" : "comment"
}
} ,
"post" : {
"post1234" : {
"seen" : {
"count" : 1
}
} ,
"post235" : {
"click" : {
"count" : 3
}
}
}
} Request Code Samples
curl --location '/analytics/events/track' \
--header 'Authorization: {}' \
--header 'x-user-device: {}' \
--header 'x-user-location: {}' \
--header 'Content-Type: application/json' \
--data '{
"ad": {
"ad1234": {
"seen": {
"count": 1
},
"click": {
"count": 2
},
"placement": "for-you",
"arenaId": "arena123"
},
"ad1235": {
"seen": {
"count": 4
},
"click": {
"count": 1
},
"placement": "comment"
}
},
"post": {
"post1234": {
"seen": {
"count": 1
}
},
"post235": {
"click": {
"count": 3
}
}
}
}' Responses application/json
Generate Code
Modified at 2026-11-19 11:54:52