Field name | Mandatory | Possible values | Note |
event | Mandatory | page_close / page_open / click_event / session_start / | Event name, custom name can be provided in addition to pre-defined. |
gid | Mandatory | Provided by fibotalk | |
uid | Mandatory | Unique id of a user in a session (random id saved in the browser storage) | |
ts (in milliseconds) | Mandatory | 1601443557318 | Event generation timestamp |
ui – JSON object | When user information is required | { “userId”: , “userType”: “”, … } | User information as JSON object “userType” is mandatory |
account – JSON object | When account information is required | { “accountId”: , “name”: } | Account information as JSON object “accountId” is mandatory |
val | Associated event value | ||
sess | Unique session id | ||
website | com.myawesomeapp | Application name | |
page | about | Route name (view name) | |
deviceId | sdm660 | Device build id | |
appVersion | 0.0.1 | Current released app version | |
referrer | https://www.google.com/ | Source of visit to application (‘none’ if no referrer) | |
browser | Chrome | Web browser used | |
platform | OS | ||
device | <“Laptop/ PC” / “Mobile”> | Device type | |
make | Device make | ||
from | home | Previous route | |
ip | 127.0.0.1 | IP address | |
country_code | IN | Code for country | |
country_name | India | Country name | |
region_code | KA | Code for region | |
region_name | Karnataka | Region name | |
city | Bengaluru | City name | |
time_zone (alphabetical) | Asia/Kolkata | Time zone name | |
durDiff | 5000 | Elapsed milliseconds from last event (0 if first event) | |
sessDur | 20000 | Elapsed milliseconds from session start (0 if the event is session_start) | |
duration (page_close only) | 20000 | Elapsed milliseconds from last page_open event | |
misc (click_event only) – JSON object. Optional | { “text“: “text written on clicked element”, “page”: , “elType”: “button” / “a” / … “html”: } | JSON object (text, page, elType, html) |
[{ "event" : "page_close", "gid" : "4f8abdbfcd2f19ee34dda496", "uid" : "YwHpd8wvMdCtKGmxYcmOghFFuK5MTX", "val" : , "sess" : "lYJZ4GQvY0seim67SIKsJYqRGfdJkC", "website" : , "page" : , "deviceId": , "appVersion" : , "referrer : "https://google.co.in/", "browser" : "Chrome", "platform" : "Microsoft Windows", "device" : "Laptop/ PC", "make" : " x64", "ts" : ISODate("2020-09-28T05:36:51.719Z"), "durDiff" : 13122, "sessDur" : 16.7190001010895, "ui" : { "userId" : "shubham@ryteleven.com", "email" : "shubham@rytangle.com", "name" : "Fibotalk Tester", "userType" : "user" }, "account" : { "accountId" : "unireply", "org" : "Staging", "type" : "testers" }, "duration" : 6000 }, { "event" : "click_event", "gid" : "4f8abdbfcd2f19ee34dda496", "uid" : "YwHpd8wvMdCtKGmxYcmOghFFuK5MTX", "val" : "Click me button on page / with class .btn btn-dark", "sess" : "lYJZ4GQvY0seim67SIKsJYqRGfdJkC", "journeyIndex" : 2, "eventIndex" : 1, "custom" : {}, "misc" : { "text" : "Click me", "page" : , "elType" : "button", "html" : }, "website" : , "page" : , "deviceId": , "appVersion" : , "referrer : "https://google.co.in/", "browser" : "Chrome", "platform" : "Microsoft Windows", "device" : "Laptop/ PC", "make" : " x64", "ts" : ISODate("2020-09-28T05:36:38.595Z"), "durDiff" : 3445, "sessDur" : 3.59500002861023, "ui" : { "userId" : "shubham@ryteleven.com", "email" : "shubham@rytangle.com", "name" : "Fibotalk Tester", "userType" : "user" }, "account" : { "accountId" : "unireply", "org" : "Staging", "type" : "testers" } }, { "event" : "page_open", "gid" : "4f8abdbfcd2f19ee34dda496", "uid" : "YwHpd8wvMdCtKGmxYcmOghFFuK5MTX", "val" : , "sess" : "lYJZ4GQvY0seim67SIKsJYqRGfdJkC", "journeyIndex" : 1, "eventIndex" : 1, "custom" : {}, "website" : , "page" : , "deviceId": , "appVersion" : , "referrer : "https://google.co.in/", "browser" : "Chrome", "platform" : "Microsoft Windows", "device" : "Laptop/ PC", "make" : " x64", "ts" : ISODate("2020-09-28T05:36:35.148Z"), "durDiff" : 124, "sessDur" : 0.148000001907349, "ui" : { "userId" : "shubham@ryteleven.com", "email" : "shubham@rytangle.com", "name" : "Fibotalk Tester", "userType" : "user" }, "account" : { "accountId" : "unireply", "org" : "Staging", "type" : "testers" }, "pageLoadTime" : 757 }, { "event" : "session_start", "gid" : "4f8abdbfcd2f19ee34dda496", "uid" : "YwHpd8wvMdCtKGmxYcmOghFFuK5MTX", "sess" : "lYJZ4GQvY0seim67SIKsJYqRGfdJkC", "website" : , "page" : , "deviceId": , "appVersion" : , "referrer : "https://google.co.in/", "browser" : "Chrome", "platform" : "Microsoft Windows", "device" : "Laptop/ PC", "make" : " x64", "ts" : ISODate("2020-09-28T05:36:35.023Z"), "durDiff" : 0, "sessDur" : 0.0230000019073486, "ui" : { "userId" : "shubham@ryteleven.com", "email" : "shubham@rytangle.com", "name" : "Fibotalk Tester", "userType" : "user" }, "account" : { "accountId" : "unireply", "org" : "Staging", "type" : "testers" } }]