The event object model
The event object is a dictionary of key-value pairs representing data about the event being recorded, the user, the device, and so on.
The following table lists top-level attributes that are required for all Sitecore Discover event objects. Depending on the type of event, there might be other required attributes located within the value
object.
Name |
Type |
Description |
---|---|---|
|
String | |
|
String | |
|
Object |
The following table lists other keys that are only required when you are using the Sitecore Discover Events API:
Name |
Type |
Description |
---|---|---|
|
Integer |
Required. Time of the event in milliseconds. |
|
Integer |
Required. Time the page loaded in milliseconds. |
|
String |
Either Unique Discover-provided user ID |
|
String |
Either Unique, anonymous user ID |
The following table lists optional keys:
Name |
Type |
Description |
Value |
---|---|---|---|
|
String |
Optional. Device type. |
|
|
String |
Optional. Application type. |
|