Analytics schema V4
Schema and Sample payloads for Analytics Events
Analytics are broadly classified into 4 types:
Page: Has context of the current page opened by the user. It can be a wallet, program, or any game.
Track: Has context of the user’s interaction, on the opened page. All interactions of users are grouped into track type.
State-Change: All state changes which happen on the server side are included in this category. Example: campaign completion, activity completion, etc.
System: Includes system level events like errors.
Page
FIELD | TYPE | DESCRIPTION | VALUES, (subject to change in case of updates) |
---|---|---|---|
event_name | string | PAGE_OPENED: When a page, sub-page, nudge page, or any custom page is opened | PAGE_OPENED |
type | string | Type of event | page |
event_id, eventId | string | Event Identification | unique string value |
user_id, userId | string | User Identification. | respective user id received from client app |
timestamp | string | ISO UTC timestamp of the event. | time at event fired |
session_id | string | user session id | Any unique string value |
session_time | number | time spent by the user till this event | in milliseconds |
referrer | string | source of the redirection, it’s an OPTIONAL PROPERTY | optional property |
analytics_version | string | analytic version used for the respective campaigns | Any string value with semantic versioning |
page_details | object | represents the current page details | |
page_layout | string | represents the type layout used for this page. | FULL_PAGE, BOTTOM_SHEET, POPUP |
page_name | string | name of the page opened. subject to change in case of different pages are added to the campaigns | Any string value including but not limited to, SPIN_THE_WHEEL_GAME_PAGE, SLOT_MACHINE_GAME_PAGE, TOSS_THE_COIN_GAME_PAGE, ROLL_THE_DICE_GAME_PAGE, GIFT_BOX_GAME_PAGE, CATCHING_GAME_PAGE, SCRATCH_CARD_GAME_PAGE, QUIZ_1_PAGE, INTRO_PAGE, DIRECT_REWARD_PAGE, PERSONALITY_QUIZ_PAGE, CG_WALLET_PAGE, MULTISTEP, STREAK, ACTIVITY_CHALLENGE, GAME_CHALLENGE, REFERRAL |
campaign_details | object | It’s an optional property. Available only for campaign-level ui’s. | optional |
campaign_name | string | name of the campaign opened by the user | Any string value |
campaign_experience | string | type of the campaign | Any string value including but not limited to, SPIN_THE_WHEEL, SCRATCHCARD, DIRECT_REWARD, SLOTMACHINE, MEMORY_GAME, QUIZ, GIFT_BOX, SWIPE_UI, PERSONALITY_QUIZ, TOSS_THE_COIN, ROLL_THE_DICE, REFERRAL ,MULTI_STEP, STREAK, GAME_CHALLENGE |
reward_user_id | string | unique reward id of the user for the particular campaign | Any string value |
campaign_state | string | user’s campaign state for the opened campaign | PRISTINE, IN_PROGRESS, COMPLETED |
reward_status | string | user’s reward state for the opened campaign | REDEEMABLE-SEEN, REDEEMABLE-UNSEEN |
selected_slot_index | number | index of the slot selected based on the probability | Any number starting from 0 |
reward_type | string | type of reward | Any string value, including but not limited to: ["NO_REWARD", "CUSTOM_REWARD", "COUPONS", "COINS", "POINTS", "CASHBACKS", "DIRECT"] |
reward_title | string | title of reward | Any string value |
reward_amount | number | numeric component of the reward | Any number |
coupon_code | string | Coupon code (if eligible) | Any string value |
platform_details | user platform details | ||
device_type | string | user device type | MOBILE, WEB |
os | string | operating system of the user | CHROME, ANDROID, IOS, MICROSOFT |
agent_type | string | user agent of the ui | WEB_VIEW, BROWSER, IFRAME |
app_platform | string | user app type | FLUTTER, ANDROID, IOS, WEB |
optional_payload | object | any custom properties can be added, for better analytics | key and value pairs |
Track- Frontend
FIELD | TYPE | DESCRIPTION | VALUES, (subject to change in case of updates) |
---|---|---|---|
event_name | string | user interaction event on the UI | Any string value including but not limited to: |
type | string | Type of event | track |
event_id, eventId | string | Event Identification | unique string value |
user_id, userId | string | User Identification. | respective user id received from client app |
timestamp | string | ISO UTC timestamp of the event. | time at which event triggered |
session_id | string | user session id | Any unique string value |
session_time | number | time spent by the user till this event | in milliseconds |
referrer | string | source of the redirection | Any string value |
analytics_version | string | analytic version used for the respective campaigns | Any string value with semantic versioning |
page_details | object | represents the current page details | |
page_layout | string | represents the type layout used for this page. | FULL_PAGE, BOTTOM_SHEET, POPUP |
page_name | string | name of the page opened. subject to change in case of different pages are added to the campaigns | Any string value including but not limited to, SPIN_THE_WHEEL_GAME_PAGE, SLOT_MACHINE_GAME_PAGE, TOSS_THE_COIN_GAME_PAGE, ROLL_THE_DICE_GAME_PAGE, GIFT_BOX_GAME_PAGE, CATCHING_GAME_PAGE, SCRATCH_CARD_GAME_PAGE, QUIZ_1_PAGE, INTRO_PAGE, DIRECT_REWARD_PAGE, PERSONALITY_QUIZ_PAGE, CG_WALLET_PAGE, MULTISTEP, STREAK, ACTIVITY_CHALLENGE, GAME_CHALLENGE, REFERRAL |
campaign_details | object | It’s an optional property. Available only for campaign-level interactions. | optional |
campaign_name | string | name of the campaign opened by the user | Any string value |
campaign_experience | string | type of the campaign | Any string value including but not limited to, SPIN_THE_WHEEL, SCRATCHCARD, DIRECT_REWARD, SLOTMACHINE, MEMORY_GAME, QUIZ, GIFT_BOX, SWIPE_UI, PERSONALITY_QUIZ, TOSS_THE_COIN, ROLL_THE_DICE, REFERRAL ,MULTI_STEP, STREAK, GAME_CHALLENGE |
reward_user_id | string | unique reward id of the user for the particular campaign | Any string value |
campaign_state | string | user’s campaign state for the opened campaign | PRISTINE, IN_PROGRESS, COMPLETED |
reward_status | string | user’s reward state for the opened campaign | REDEEMABLE-SEEN, REDEEMABLE-UNSEEN |
selected_slot_index | number | Selected slot index based on the probability | Any number starting from 0 |
reward_type | string | Type of the reward | Any string value, including but not limited to: ["NO_REWARD", "CUSTOM_REWARD", "COUPONS", "COINS", "POINTS", "CASHBACKS", "DIRECT"] |
reward_title | string | Title of the reward | Any string value |
reward_amount | number | Numeric component of the reward | Any number |
coupon_code | string | Coupon code (if eligible) | Any string value |
platform_details | object | user platform details | |
device_type | string | user device type | MOBILE, WEB |
os | string | the operating system of the user | CHROME, ANDROID, IOS, MICROSOFT |
agent_type | string | user agent of the ui | WEB_VIEW, BROWSER, IFRAME |
app_platform | string | user app type | FLUTTER, ANDROID, IOS, WEB |
optional_payload | object | any custom properties can be added, for better analytics | It’s an optional payload |
interaction_details | object | user interaction (click) details | It’s an optional object, sub-properties depend on the event_name |
button_name | string | button name of this click event | name of the button |
code | string | code copied by user | Any string value |
deep_link | string | deeplink opened by user | Any string value |
web_link | string | web link opened by user | Any string value |
channel | string | share channel | WHATSAPP, etc |
session_id | string | unique quiz session id | Any string value |
question_index | number | question id of the current user | number |
user_answer | string | user answer for the question | Any string value |
user_answers | array | in case of multiple answers (surveys) | Array of strings |
correct_answer | string | correct answer for the question | Any string value |
is_correct | boolean | user answer state | true, false |
survey_page_index | number | current survey page id | number |
field_type | string | current question type | TEXT_INPUT, CHECK_BOX, DROP_DOWN, RATINGS |
survey_question_index | number | current survey question id | number |
question | string | survey question | Any string value |
Track-SDK
Webview Load
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | WEBVIEW_LOAD |
type | string | event type | track |
event_id | string | Unique event Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
device_type | string | Mobile or Web as the device type | "MOBILE", "WEB" |
os | string | Client platform where the SDK is consumer | "CHROME", "SAFARI", "MOZILLA", "ANDROID", "IOS" |
app_platform | string | SDK development platform / framework / plugin used | "FLUTTER", "ANDROID", "REACT_NATIVE", "IOS", "WEB" |
sdk_version | string | SDK version | Any String Value |
webview_url | string | The website url which is loaded in the webview | Any String Value |
webview_layout | string | The webview layout configuration | middle-default |
absolute_height | string | Webview’s absolute height | Any String Value (Numbers Only) |
relative_height | string | Webview's height in percentage | Any String Value (Numbers Only between 1- 100) |
Webview Dismiss
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | WEBVIEW_DISMISS |
type | string | Event type | track |
event_id | string | Unique event Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
device_type | string | Mobile or Web as the device type | "MOBILE", "WEB" |
os | string | Client platform where the SDK is consumer | "CHROME", "SAFARI", "MOZILLA", "ANDROID", "IOS" |
app_platform | string | SDK development platform / framework / plugin used | "FLUTTER", "ANDROID", "REACT_NATIVE", "IOS", "WEB" |
sdk_version | string | SDK version | Any String Value |
dismiss_trigger | sting | Dismiss Mechanism for the Nudge | PHYSICAL_BUTTON |
webview_url | string | The website url which is loaded in the webview | Any String Value |
webview_layout | string | The webview layout configuration | middle-default |
absolute_height | string | Webview’s absolute height | Any String Value (Numbers Only) |
relative_height | string | Webview's height in percentage | Any String Value (Numbers Only between 1- 100) |
Notification Load (only triggered if the app is in foreground)
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | NOTIFICATION_LOAD |
type | string | Event type | track |
event_id | string | Unique event Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
device_type | string | Mobile or Web as the device type | "MOBILE", "WEB" |
os | string | Client platform where the SDK is consumer | "CHROME", "SAFARI", "MOZILLA", "ANDROID", "IOS" |
app_platform | string | SDK development platform / framework / plugin used | "FLUTTER", "ANDROID", "REACT_NATIVE", "IOS", "WEB" |
sdk_version | string | SDK version | Any String Value |
nudge_id | string | Unique nudge identifier | Any String Value |
type | string | Nudge type constant | push |
campaign_id | string | Unique Campaign identifier (optional) | Any String Value |
title | string | Nudge Notification Title | Any String Value |
body | string | Nudge Notification Body | Any String Value |
click_action | string | Nudge Notification Load URL | Any String Value |
nudge_layout | string | Represent nudge open layout | middle-default |
Push Notification Clicked
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | PUSH_NOTIFICATION_CLICK |
type | string | Event type | track |
event_id | string | Unique event Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
device_type | string | Mobile or Web as the device type | "MOBILE", "WEB" |
os | string | Client platform where the SDK is consumer | "CHROME", "SAFARI", "MOZILLA", "ANDROID", "IOS" |
app_platform | string | SDK development platform / framework / plugin used | "FLUTTER", "ANDROID", "REACT_NATIVE", "IOS", "WEB" |
sdk_version | string | SDK version | Any String Value |
nudge_id | string | Unique nudge identifier | Any String Value |
type | string | Nudge type constant | push |
campaign_id | string | Unique Campaign identifier | Any String Value |
title | string | Nudge Notification Title | Any String Value |
body | string | Nudge Notification Body | Any String Value |
click_action | string | Nudge Notification Load URL | Any String Value |
Entry Point Load
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | ENTRY_POINT_LOAD |
type | string | Event type | track |
event_id | string | Unique event Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
device_type | string | Mobile or Web as the device type | "MOBILE", "WEB" |
"WEB” | |||
os | string | Client platform where the SDK is consumer | "CHROME", "SAFARI", "MOZILLA", "ANDROID", "IOS”"CHROME", "SAFARI", "MOZILLA", "ANDROID", "IOS”"CHROME", "SAFARI", "MOZILLA", "ANDROID", "IOS”"CHROME", "SAFARI", "MOZILLA", "ANDROID", "IOS” |
app_platform | string | SDK development platform / framework / plugin used | "FLUTTER", "ANDROID", "REACT_NATIVE", "IOS", "WEB" |
sdk_version | string | SDK version | Any String Value |
campaign_id | string | Unique Campaign identifier | Any String Value |
entry_point_id | string | Entry point unique identifier | Any String Value |
entry_point_name | string | Entry point unique name | Any String Value |
entry_point_location | string | Entry point location screen name | Any String Value (Screen Name) |
type | string | The type of campaign / URL the entry point is opening. | "WALLET","CAMPAIGN","STATIC" |
static_url | string | The 3rd party URL which is loaded in the webview (Incase of campaignId being missing this URL is loaded) | Any String Value (URL) |
entry_point_container | string | The type of entry point. | "POP_UP","BOTTOM_SHEET","ICON_BUTTON","CHAT_BOX","FLOATING","EMBED","BANNER" |
ENTRY POINT CLICK
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | ENTRY_POINT_CLICK |
type | string | Event type | track |
event_id | string | Unique event Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
device_type | string | Mobile or Web as the device type | "MOBILE", "WEB" |
"WEB” | |||
os | string | Client platform where the SDK is consumer | "CHROME", "SAFARI", "MOZILLA", "ANDROID", "IOS” |
app_platform | string | SDK development platform / framework / plugin used | "FLUTTER", "ANDROID", "REACT_NATIVE", "IOS", "WEB" |
sdk_version | string | SDK version | Any String Value |
campaign_id | string | Unique Campaign identifier | Any String Value |
entry_point_id | string | Entry point unique identifier | Any String Value |
entry_point_name | string | Entry point unique name | Any String Value |
entry_point_location | string | Entry point location screen name | Any String Value (Screen Name) |
action_type | string | Entry point action type | OPEN |
open_container | string | Entry point container type | middle-default |
type | string | The type of campaign / URL the entry point is opening. | "WALLET","CAMPAIGN","STATIC" |
static_url | string | The 3rd party URL which is loaded in the webview (Incase of campaignId being missing this URL is loaded) | Any String Value (URL) |
entry_point_container | string | The type of entry point. | "POP_UP","BOTTOM_SHEET","ICON_BUTTON","CHAT_BOX","FLOATING","EMBED","BANNER" |
ENTRY POINT DISMISS
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | ENTRY_POINT_DISMISS |
type | string | Event type | track |
event_id | string | Unique event Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
device_type | string | Mobile or Web as the device type | "MOBILE", "WEB" |
"WEB” | |||
os | string | Client platform where the SDK is consumer | "CHROME", "SAFARI", "MOZILLA", "ANDROID", "IOS” |
app_platform | string | SDK development platform / framework / plugin used | "FLUTTER", "ANDROID", "REACT_NATIVE", "IOS", "WEB" |
sdk_version | string | SDK version | Any String Value |
entry_point_id | string | Entry point unique identifier | Any String Value |
entry_point_name | string | Entry point unique name | Any String Value |
entry_point_location | string | Entry point location screen name | Any String Value (Screen Name) |
State-Change
Campaign Completed
It's triggered when a campaign is completed
For Games, it gets triggered on winning a reward
For Challenges, it gets triggered on completing all activities
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | CAMPAIGN_COMPLETED |
type | string | Event type | state-change |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_name | string | Name of the campaign | Any String Value |
campaign_experience | string | Experience of campaign | Any String value Including but not limited to "MEMORYGAME" ,"QUIZ" , "SPINTHEWHEEL" , "SCRATCHCARD" , "SLOTMACHINE" , "GIFTBOX" , "ROLLTHEDICE" , "SWIPEUI" , "TOSSTHECOIN", “UNITYGAME”, ”SURVEY” |
campaign_state | string(enum) | User’s state in campaign lifecycle | “COMPLETED” |
reward_index | Number | Index of reward won by user | Any numerical value. |
reward_id | string | Unique value for each generated reward | Any string value |
reward_status | string(enum) | Reward’s state | "REDEEMABLE-SEEN" |
reward_title | string | Reward title added by you for the campaign | Any string value |
reward_type | string(enum) | Reward type added by you for the campaign | Any String value Including but not limited to "CUSTOMREWARD", "COUPONS" , "COINS" , "POINTS" ,"CASHBACKS","NOREWARD" |
reward_amount | Number/null | Reward amount added by you | Any numerical value or null |
Challenge Accepted
Triggered when the user opts in to become a part of the challenge (explicit acceptance as a pre-requisite is configurable via the dashboard)
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | CHALLENGE_ACCEPTED |
type | string | Event type | state-change |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | Any String value Including but not limited to "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_name | string | Name of the campaign | Any String Value |
campaign_experience | string | Experience of campaign | Any String value Including but not limited to "SPINTHEWHEEL","SLOTMACHINE","SCRATCHCARD","DIRECT","MEMORYGAME","QUIZ","REFERRAL","MULTISTEP","STREAK","ACTIVITY-SCRATCHCARD","COLLECTTHESTAMPS","GAMECHALLENGE","UNITY","TOSSTHECOIN","ROLLTHEDICE","UNITYGAME","GIFTBOX","SURVEY", |
campaign_status | string | User’s state in campaign lifecycle | Any String value (Including but not limited to 'PRISTINE', 'IN-PROGRESS', 'COMPLETED', 'EXPIRED’ ) |
campaign_steps_completed | number | Number of steps completed by user in campaign lifecycle | Positive numerical value |
campaign_total_steps | number | Total number of steps available in campaign lifecycle | Positive numerical value |
campaign_expires_on | string | UTC timestamp | Any String Value |
campaign_expiry_type | string(enum) | Type of expiration | 'ABSOLUTE', 'RELATIVE', 'NEVER’ |
campaign_expired | boolean | flag whether campaign is expired or not | true,false |
Reward Granted
Triggered when the user sees a reward.
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | REWARD_GRANTED |
type | string | Event type | state-change |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | Any String value Including but not limited to "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_name | string | Name of the campaign | Any String Value |
campaign_experience | string | Experience of campaign | Any String value Including but not limited to "SPINTHEWHEEL","SLOTMACHINE","SCRATCHCARD","DIRECT","MEMORYGAME","QUIZ","REFERRAL","MULTISTEP","STREAK","ACTIVITY-SCRATCHCARD","COLLECTTHESTAMPS","GAMECHALLENGE","UNITY","TOSSTHECOIN","ROLLTHEDICE","UNITYGAME","GIFTBOX","SURVEY", |
campaign_status | string | User’s state in campaign lifecycle | Any String value (Including but not limited to 'PRISTINE', 'IN-PROGRESS', 'COMPLETED', 'EXPIRED’ ) |
reward_coupon_code | string/null | Reward coupon allotted to user | Any String value |
reward_index | Number | Index of reward won by user | Any numerical value. |
reward_id | string | Unique value for each generated reward | Any string value |
reward_status | string(enum) | Reward’s state | "REDEEMABLE-SEEN" |
reward_title | string | Reward title added by you for the campaign | Any string value |
reward_body | string | Reward body added by you for the campaign | Any string value |
reward_type | string(enum) | Reward type added by you for the campaign | Any String value Including but not limited to "CUSTOMREWARD","COUPONS" ,"COINS","POINTS","CASHBACKS","NOREWARD" |
reward_amount | Number/null | Reward amount added by you | Any numerical value or null |
Reward Created
Triggered when the system creates a reward.
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | REWARD_CREATED |
type | string | Event type | state-change |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | Any String value Including but not limited to "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_name | string | Name of the campaign | Any String Value |
campaign_experience | string | Experience of campaign | Any String value Including but not limited to "SPINTHEWHEEL","SLOTMACHINE","SCRATCHCARD","DIRECT","MEMORYGAME","QUIZ","REFERRAL","MULTISTEP","STREAK","ACTIVITY-SCRATCHCARD","COLLECTTHESTAMPS","GAMECHALLENGE","UNITY","TOSSTHECOIN","ROLLTHEDICE","UNITYGAME","GIFTBOX","SURVEY", |
campaign_status | string | User’s state in campaign lifecycle | Any String value (Including but not limited to 'PRISTINE', 'IN-PROGRESS', 'COMPLETED', 'EXPIRED’ ) |
reward_coupon_code | string/null | Reward coupon allotted to user | Any String value |
reward_index | Number | Index of reward won by user | Any numerical value. |
reward_id | string | Unique value for each generated reward | Any string value |
reward_status | string(enum) | Reward’s state | "REDEEMABLE-UNSEEN","REDEEMABLE-SEEN" |
reward_title | string | Reward title added by you for the campaign | Any string value |
reward_body | string | Reward body added by you for the campaign | Any string value |
reward_type | string(enum) | Reward type added by you for the campaign | Any String value Including but not limited to "CUSTOMREWARD","COUPONS" ,"COINS","POINTS","CASHBACKS" ,"NOREWARD" |
reward_amount | Number/null | Reward amount added by you | Any numerical value or null |
Campaign Expiry Reminder
Triggered 24 hours before expiry of a campaign (trigger time is configurable with default value being 24 hours)
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | EXPIRY_REMINDER |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | Any String value Including but not limited to "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_expiry | string | UTC timestamp of the expiry | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_name | string | Name of the campaign | Any String Value |
campaign_expiration_type | string(enum) | Type of expiration | "RELATIVE" ,"ABSOLUTE" |
campaign_expired | boolean | flag whether campaign is expired or not | Boolean values (true, false) |
campaign_experience | string | Experience of campaign | Any String value Including but not limited to "MULTISTEP", "STREAK", "GAMECHALLENGE", |
campaign_expiring_in_hours | int | Duration in which the campaign is going to be expired | Any Integer value denoting the duration in hours in which the campaign is going to be expired |
campaign_state | string | Status of the campaign | RUNNING, STOPPED |
Campaign Expired
Triggered when a campaign’s program expiry (absolute/relative) is completed.
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | CAMPAIGN_EXPIRED |
type | string | Event type | state-change |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | Any String value Including but not limited to "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_expiry | string | UTC timestamp of the expiry | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_name | string | Name of the campaign | Any String Value |
campaign_expiration_type | string(enum) | Type of expiration | "RELATIVE" ,"ABSOLUTE" |
campaign_expired | boolean | flag whether campaign is expired or not | Boolean values (true, false) |
campaign_experience | string | Experience of campaign | Any String value Including but not limited to "MULTISTEP","STREAK","GAMECHALLENGE", |
campaign_state | string | Status of the campaign | RUNNING, STOPPED |
Multistep/Streak User Joined
Triggered when a user joins a multistep, streak, campaign.
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | CAMPAIGN_JOINED |
type | string | Event type | state-change |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | Any String value Including but not limited to "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_name | string | Name of the campaign | Any String Value |
campaign_experience | string | Experience of campaign | "MULTISTEP","STREAK" |
campaign_status | string | User’s state in campaign lifecycle | User’s state in campaign lifecycle Any String value (Including but not limited to 'PRISTINE' ) |
campaign_steps_completed | Number | Number of steps completed by user in campaign lifecycle | Positive numerical value |
campaign_total_steps | Number | Total number of steps available in campaign lifecycle | Positive numerical value |
campaign_expires_on | string | UTC timestamp | Any String Value |
campaign_expiry_type | string(enum) | Type of expiration | 'ABSOLUTE', 'RELATIVE', 'NEVER’ |
campaign_expired | boolean | flag whether campaign is expired or not | true,false |
MultiStep Activity completed
Triggered when a user completes an activity in a multistep campaign
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | MULTISTEP_ACTIVITY_COMPLETED |
type | string | Event type | state-change |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | Any String value Including but not limited to "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_name | string | Name of the campaign | Any String Value |
campaign_experience | string | Experience of campaign | "MULTISTEP" |
campaign_status | string | User’s state in campaign lifecycle | Any String value (Including but not limited to , 'IN-PROGRESS', 'COMPLETED', 'EXPIRED’ ) |
campaign_steps_completed | Number | Number of steps completed by user in campaign lifecycle | Positive numerical value |
campaign_total_steps | Number | Total number of steps available in campaign lifecycle | Positive numerical value |
campaign_expires_on | string | UTC timestamp | Any String Value |
campaign_expiry_type | string(enum) | Type of expiration | 'ABSOLUTE', 'RELATIVE', 'NEVER’ |
campaign_expired | boolean | flag whether campaign is expired or not | true,false |
activity_completed_total | Number | Total number of steps completed for activity associated with received event in campaign lifecycle | Positive numerical value |
activity_completed_daily | Number | Total number of steps completed for activity associated with received event in daily lifecycle | Positive numerical value |
activity_limits_total | Number | Total number of steps available for activity associated with received event in campaign lifecycle | Positive numerical value |
activity_limits_daily | Number | Total number of steps available for activity associated with received event in daily lifecycle | Positive numerical value |
campaign_activity_status | string(enum) | Current activity lifecycle state | Any String value (Including but not limited to "COMPLETED", "PENDING", "IN-PROGRESS”) |
campaign_activity_id | string | Unique activity Id | Any String value |
campaign_activity_event_name | string | Event name associated with activity | Any String value |
campaign_activity_completed_on | string | UTC timestamp | Any String Value |
Multistep activity Rollback
Triggered when a single activity rolls back for a multistep.
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | MULTISTEP_ACTIVITY_ROLLBACK |
type | string | Event type | state-change |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | Any String value Including but not limited to "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_name | string | Name of the campaign | Any String Value |
campaign_experience | string | Experience of campaign | "MULTISTEP" |
campaign_status | string | User’s state in campaign lifecycle | Any String value (Including but not limited to , 'IN-PROGRESS', 'COMPLETED', 'EXPIRED’ ) |
campaign_steps_completed | Number | Number of steps completed by user in campaign lifecycle | Positive numerical value |
campaign_total_steps | Number | Total number of steps available in campaign lifecycle | Positive numerical value |
campaign_expires_on | string | UTC timestamp | Any String Value |
campaign_expiry_type | string(enum) | Type of expiration | 'ABSOLUTE', 'RELATIVE', 'NEVER’ |
campaign_expired | boolean | flag whether campaign is expired or not | true,false |
activity_completed_total | Number | Total number of steps completed for activity associated with received event in campaign lifecycle | Positive numerical value |
activity_completed_daily | Number | Total number of steps completed for activity associated with received event in daily lifecycle | Positive numerical value |
activity_limits_total | Number | Total number of steps available for activity associated with received event in campaign lifecycle | Positive numerical value |
activity_limits_daily | Number | Total number of steps available for activity associated with received event in daily lifecycle | Positive numerical value |
campaign_activity_status | string(enum) | Current activity lifecycle state | Any String value (Including but not limited to "COMPLETED", "PENDING", "IN-PROGRESS”) |
campaign_activity_id | string | Unique activity Id | Any String value |
campaign_activity_event_name | string | Event name associated with activity | Any String value |
campaign_activity_completed_on | string | UTC timestamp | Any String Value |
Streak Activity Completed
Triggered when a single activity gets completed for a streak.
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | STREAK_ACTIVITY_COMPLETED |
type | string | Event type | state-change |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | Any String value Including but not limited to "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_name | string | Name of the campaign | Any String Value |
campaign_experience | string | Experience of campaign | "STREAK" |
campaign_status | string | User’s state in campaign lifecycle | Any String value (Including but not limited to , 'IN-PROGRESS', 'COMPLETED', 'EXPIRED’ ) |
campaign_steps_completed | Number | Number of steps completed by user in campaign lifecycle | Positive numerical value |
campaign_total_steps | Number | Total number of steps available in campaign lifecycle | Positive numerical value |
campaign_expires_on | string | UTC timestamp | Any String Value |
campaign_expiry_type | string(enum) | Type of expiration | 'ABSOLUTE', 'RELATIVE', 'NEVER’ |
campaign_expired | boolean | flag whether campaign is expired or not | true,false |
activity_completed_total | Number | Total number of steps completed for activity associated with received event in campaign lifecycle | Positive numerical value |
activity_completed_daily | Number | Total number of steps completed for activity associated with received event in daily lifecycle | Positive numerical value |
activity_limits_total | Number | Total number of steps available for activity associated with received event in campaign lifecycle | Positive numerical value |
activity_limits_daily | Number | Total number of steps available for activity associated with received event in daily lifecycle | Positive numerical value |
campaign_activity_status | string(enum) | Current activity lifecycle state | Any String value (Including but not limited to "COMPLETED", "PENDING", "IN-PROGRESS”) |
campaign_activity_id | string | Unique activity Id | Any String value |
campaign_activity_event_name | string | Event name associated with activity | Any String value |
campaign_activity_completed_on | string | UTC timestamp | Any String Value |
Streak activity Rollback
Triggered when a single activity rolls back for a streak.
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | STREAK_ACTIVITY_COMPLETED |
type | string | Event type | state-change |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | Any String value Including but not limited to "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_name | string | Name of the campaign | Any String Value |
campaign_experience | string | Experience of campaign | "STREAK" |
campaign_status | string | User’s state in campaign lifecycle | Any String value (Including but not limited to , 'IN-PROGRESS', 'COMPLETED', 'EXPIRED’ ) |
campaign_steps_completed | Number | Number of steps completed by user in campaign lifecycle | Positive numerical value |
campaign_total_steps | Number | Total number of steps available in campaign lifecycle | Positive numerical value |
campaign_expires_on | string | UTC timestamp | Any String Value |
campaign_expiry_type | string(enum) | Type of expiration | 'ABSOLUTE', 'RELATIVE', 'NEVER’ |
campaign_expired | boolean | flag whether campaign is expired or not | true,false |
activity_completed_total | Number | Total number of steps completed for activity associated with received event in campaign lifecycle | Positive numerical value |
activity_completed_daily | Number | Total number of steps completed for activity associated with received event in daily lifecycle | Positive numerical value |
activity_limits_total | Number | Total number of steps available for activity associated with received event in campaign lifecycle | Positive numerical value |
activity_limits_daily | Number | Total number of steps available for activity associated with received event in daily lifecycle | Positive numerical value |
campaign_activity_status | string(enum) | Current activity lifecycle state | Any String value (Including but not limited to "COMPLETED", "PENDING", "IN-PROGRESS”) |
campaign_activity_id | string | Unique activity Id | Any String value |
campaign_activity_event_name | string | Event name associated with activity | Any String value |
campaign_activity_completed_on | string | UTC timestamp | Any String Value |
All MultiStep rewards consumed
Triggered when all the rewards in a multistep campaign are consumed.
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | “ALL_REWARDS_CONSUMED” |
type | string | Event type | state-change |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | Any String value Including but not limited to "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_experience | string | Experience of campaign | "MULTISTEP" |
campaign_status | string | User’s state in campaign lifecycle | User’s state in campaign lifecycle Any String value (Including but not limited to 'PRISTINE' ) |
campaign_steps_completed | Number | Number of steps completed by user in campaign lifecycle | Positive numerical value |
campaign_total_steps | Number | Total number of steps available in campaign lifecycle | Positive numerical value |
campaign_expires_on | string | UTC timestamp | Any String Value |
campaign_expiry_type | string(enum) | Type of expiration | 'ABSOLUTE', 'RELATIVE', 'NEVER’ |
campaign_expired | boolean | flag whether campaign is expired or not | true,false |
All Streak Rewards Consumed
Triggered when all the rewards in a streak campaign are consumed.
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | “ALL_REWARDS_CONSUMED” |
type | string | Event type | state-change |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | Any String value Including but not limited to "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_experience | string | Experience of campaign | "STREAK" |
campaign_status | string | User’s state in campaign lifecycle | User’s state in campaign lifecycle Any String value (Including but not limited to 'PRISTINE' ) |
campaign_steps_completed | Number | Number of steps completed by user in campaign lifecycle | Positive numerical value |
campaign_total_steps | Number | Total number of steps available in campaign lifecycle | Positive numerical value |
campaign_expires_on | string | UTC timestamp | Any String Value |
campaign_expiry_type | string(enum) | Type of expiration | 'ABSOLUTE', 'RELATIVE', 'NEVER’ |
campaign_expired | boolean | flag whether campaign is expired or not | true,false |
Reset Streak
It is triggered when the streak gets reset for a user, and the user has to start the progress from 1st streak.
FIELD | TYPE | DESCRIPTION | VALUES |
---|---|---|---|
event_name | string(enum) | Name of a particular event. | “STREAK_RESET” |
type | string | Event type | state-change |
event_id | string | Unique event Id | Any String Value |
client | string | Your Client Id | Any String Value |
user_id | string | User Identification. | Any String Value |
analytics_version | string | Version of analytics event | Any String value Including but not limited to "4.0.0" |
timestamp | string | UTC timestamp of the event | Any String Value |
campaign_id | string | CampaignId of campaign | Any String Value |
campaign_experience | string | Experience of campaign | "STREAK" |
campaign_status | string | User’s state in campaign lifecycle | User’s state in campaign lifecycle Any String value (Including but not limited to 'PRISTINE' ) |
campaign_steps_completed | Number | Number of steps completed by user in campaign lifecycle | Positive numerical value |
campaign_total_steps | Number | Total number of steps available in campaign lifecycle | Positive numerical value |
campaign_expires_on | string | UTC timestamp | Any String Value |
campaign_expiry_type | string(enum) | Type of expiration | 'ABSOLUTE', 'RELATIVE', 'NEVER’ |
campaign_expired | boolean | flag whether campaign is expired or not | true,false |
System
Work In Progress...
Last updated