Example Data Events & Objects
3min
JS
{
"actor":{
"type":"User",
"id":"123",
"attributes":{
"student":{
"name":"<user_full_name>"
}
}
},
"action":{
"name":"Login"
},
"context":{
"name":"Login",
"attributes":{
"referrer":"{referrer_url}",
"is_authenticated":true
}
},
"object":{
"type":"User",
"name":"John Doe",
"attributes":{
"email":"[email protected]"
}
}
}
JS
{
"actor":{
"type":"User",
"id":"123",
"attributes":{
"student":{
"name":"<user_full_name>"
}
}
},
"action":{
"type":"Logout",
"name":"Timed Logout"
},
"context":{
"name":"Product Details",
"attributes":{
"Product Title":"Samsung Television",
"is_authenticated":false
}
},
"object":{
"type":"User",
"name":"John Doe",
"attributes":{
"email":"[email protected]"
}
}
}
JS
{
"actor":{
"type":"User",
"id":"123",
"attributes":{
"student":{
"name":"John Doe"
}
}
},
"action":{
"type":"Transaction",
"name":"Product Purchase"
},
"context":{
"name":"Product Details",
"attributes":{
"Category":"Televisions"
}
},
"object":{
"type":"Television",
"name":"Samsung 123",
"attributes":{
"Screen Size":"60 Inches",
"Screen Type":"OLED"
}
}
}
Updated 25 Mar 2024
Did this page help you?