Raw Event Webhook Schema
Frontend Events
Reward Interaction
{
"timestamp": "2022-05-27T04:46:51.878Z",
"event_name": "reward_interaction",
"event_properties": {
"page_name": "reward",
"action": "PLAYED",
"game_name": "spinthewheel",
"state": "pristine",
"campaign_id": "a1850915-ad4c-4b11-a093-e13d64362778",
"reward_user_id": "4d36e9a7-913a-4fa6-9f31-0c96227bd77b",
"user_id": "ba69a092-9d0f-4f14-99bc-393ddf1dbb66",
"status": "redeemable-seen",
"selected_slot_index": 2,
"reward_name": "100 DotCoins",
"reward_type": "points",
"code": "XBDSA65",
"reward_amount": 100,
"details": {
"campaignName": "Daily Reward"
}
},
"user_id": "test_user123"
}
CTA Interaction
{
"timestamp": "2022-07-11T06:05:45.043Z",
"event_name": "cta_interaction",
"event_properties": {
"page_name": "reward_intro",
"action": "PLAY",
"campaign_id": "ba0ca2f3-4651-48ae-9f00-9f7229b45cd5",
"component_name": "button",
"reward_user_id": "2b2eb949-a521-4dbb-8c3a-f159f62928bc",
"user_name": "not_available",
"time_left": "not_available",
"value": "Play Quiz"
},
"user_id": string;
}
Program Interaction
{
"timestamp": "2022-07-11T09:00:47.086Z",
"event_name": "program_interaction",
"event_properties": {
"page_name": "program",
"action": "load_success",
"program_name": "gamechallenge",
"campaign_id": "11c941dc-8bdb-4acd-964d-8f67012b64d2",
"component_name": "not_available",
"group_name": "not_available",
"activity": "not_available"
},
"user_id": string;
}
Wallet Interaction
{
"timestamp": "2022-07-11T09:16:48.917Z",
"event_name": "wallet_interaction",
"event_properties": {
"pageName": "wallet",
"action": "load_success"
},
"user_id": string;
}
Quiz Interaction
{
"timestamp": "2022-07-11T13:49:19.136Z",
"event_name": "quiz_interaction",
"event_properties": {
"session_id": "0.6494546164134896",
"page_name": "game",
"action": "answer_question",
"campaign_id": "ba0ca2f3-4651-48ae-9f00-9f7229b45cd5",
"reward_user_id": "560cad42-d325-465a-8467-1fa0d4060572",
"question_index": 1,
"correct_answer": "All of the above",
"user_answer": "All of the above",
"is_correct": true,
"time": "not_available"
},
"user_id": string; "4755018"
}
Coupon Code Interaction
{
"timestamp": "2022-07-11T13:12:37.729Z",
"event_name": "coupon_code_interaction",
"event_properties": {
"page_name": "not_available",
"action": "not_available",
"game_name": "not_available",
"value": "MW10KGDRV0",
"campaign_id": "not_available",
"reward_user_id": "not_available"
},
"user_id": string;
}
Backend Events
Activity Completed
Triggered when the user completes an activity.
{
"event_id": "3cf62184-09aa-4b71-be0e-7fa3310be7c3",
"event_name":"step_completed",
"steps_completed":1,
"status":"in-progress",
"campaign_id":"ewcw8ee0-474a-bxxqwqw-06f0b6c44a5",
"user_id":"xyz",
"client":"1qwxqwxwq-xqxqw-xqqx-7e28931",
"activity":{
"count":2,
"activities":[
{
"limits":{
"campaign":1,
"daily":1
},
"completedCount":{
"campaign":1,
"daily":1
},
"status":"completed",
"activityId":"completeProfile",
"eventName":"WE_HOME_SCREEN_OPEN",
"completedOn":{
"$date":"2021-05-26T11:59:58.514Z"
}
},
{
"limits":{
"campaign":1,
"daily":1
},
"completedCount":{
"campaign":0,
"daily":0
},
"status":"pending",
"activityId":"addTest",
"eventName":"BACK_PROD_ADD_CLINICAL_TEST",
}
],
},
"experience":"multistep",
"total_steps":2,
"timestamp": "2022-11-04T06:30:59Z",
"event_properties": {
"campaign_id": "ewcw8ee0-474a-bxxqwqw-06f0b6c44a5",
"client": "1qwxqwxwq-xqxqw-xqqx-7e28931",
"experience": "multistep",
"status": "in-progress",
"stepsCompleted": 1,
"totalSteps": 2
}
}
Campaign activated
Triggered when a user starts a multi-step campaign.
{
"event_id": "9dd3c94b-1e7f-4e3e-aee4-092aa119830f",
"event_name": "object_created",
"timeLimit": {
"expiresOn": {
"$date": "0001-01-01T00:00:00Z"
}
},
"status": "pristine",
"campaign_id": "a061a170-f31b-4bf3-bc0a-c7639e9d7cfd",
"user_id": "glutest-19-oct-1",
"client": "84acf2ac-b2e0-4927-8653-cba2b83816c2",
"activity": {
"count": 2,
"activities": [{
"limits": {
"campaign": 1,
"daily": 1
},
"completedCount": {
"campaign": 0,
"daily": 0
},
"status": "pending",
"activityId": "b1194b6b-c04b-4fd9-bfbc-948fcc0a025f",
"eventName": "Transaction Completed"
}, {
"limits": {
"campaign": 1,
"daily": 1
},
"completedCount": {
"campaign": 0,
"daily": 0
},
"status": "pending",
"activityId": "a9e28653-1646-4e31-a054-ebcdc2e710c2",
"eventName": "CAMPAIGN_COMPLETED"
}]
},
"programExpiry": {
"type": "relative",
"expiry": 1667500199,
"expired": true
},
"experience": "multistep",
"timestamp": "2022-11-03T18:30:00Z",
"event_properties": {
"campaign_id": "a061a170-f31b-4bf3-bc0a-c7639e9d7cfd",
"client": "84acf2ac-b2e0-4927-8653-cba2b83816c2",
"experience": "multistep",
"status": "pristine",
"stepsCompleted": 0,
"totalSteps": 2
}
}
Activity Step Completed
Triggered when a user completes a sub-step of an activity (also triggered for steps of streaks)
{
"eventId": "2502c138-b292-4ba8-98bf-a535ddacc00d",
"event_name": "sub_step_completed",
"status": "in-progress",
"campaignId": "d0c6fd39-8d86-4086-be39-17abb52c82fc",
"user_id": "kaushalpadaliya45@gmail.com",
"client": "34dc2ebc-819c-423d-85a1-9d22e788a934",
"activity": {
"count": 1,
"activities": [{
"limits": {
"campaign": 7,
"daily": 1
},
"completedCount": {
"campaign": 1,
"daily": 1
},
"status": "in-progress",
"activityId": "235bd50b-3246-41a7-a0d6-1d66432f2412",
"eventName": "SkillUp Consumption",
"completedOn": {
"$date": "2022-10-17T16:03:19Z"
}
}]
},
"experience": "streak",
"totalSteps": 1,
"timestamp": "2022-10-17T10:33:20Z",
"event_properties": {
"campaign_id": "d0c6fd39-8d86-4086-be39-17abb52c82fc",
"client": "34dc2ebc-819c-423d-85a1-9d22e788a934",
"experience": "streak",
"status": "in-progress",
"stepsCompleted": 0,
"totalSteps": 1
}
}
Campaign Expired
Triggered when a multistep/game challenge campaign expires for a user.
{
"event_name": "CAMPAIGN_EXPIRED",
"event_id": "018a34b1-71bb-4022-b410-cd0b015f136d",
"client": "c6a4681d-5599-4ba3-bb7c-2XXXXXb",
"user_id": "glutest-realUser",
"analytics_version": "3.0.0",
"timestamp": "2022-09-05T07:27:25.852Z",
"event_properties": {
"campaign_details": {
"campaign_expiry": "2022-09-05T07:27:25.852Z",
"campaign_id": "6b81a527-fd14-48b9-932a-6d3c1bc9f2XX",
"campaign_name": "Campaign name configured by the client",
"campaign_expiration_type": "RELATIVE",
"campaign_expired": true,
"campaign_experience": "MEMORYGAME",
"campaign_state": "RUNNING"
}
}
}
Last updated