Data Streaming
Example Data Events & Objects
3min
JS
1{
2 "actor":{
3 "type":"User",
4 "id":"123",
5 "attributes":{
6 "student":{
7 "name":"<user_full_name>"
8 }
9 }
10 },
11 "action":{
12 "name":"Login"
13 },
14 "context":{
15 "name":"Login",
16 "attributes":{
17 "referrer":"{referrer_url}",
18 "is_authenticated":true
19 }
20 },
21 "object":{
22 "type":"User",
23 "name":"John Doe",
24 "attributes":{
25 "email":"[email protected]"
26 }
27 }
28}
29
JS
1{
2 "actor":{
3 "type":"User",
4 "id":"123",
5 "attributes":{
6 "student":{
7 "name":"<user_full_name>"
8 }
9 }
10 },
11 "action":{
12 "type":"Logout",
13 "name":"Timed Logout"
14 },
15 "context":{
16 "name":"Product Details",
17 "attributes":{
18 "Product Title":"Samsung Television",
19 "is_authenticated":false
20 }
21 },
22 "object":{
23 "type":"User",
24"name":"John Doe",
25 "attributes":{
26 "email":"[email protected]"
27 }
28 }
29}
30
JS
1{
2 "actor":{
3 "type":"User",
4 "id":"123",
5 "attributes":{
6 "student":{
7 "name":"John Doe"
8 }
9 }
10 },
11 "action":{
12 "type":"Transaction",
13 "name":"Product Purchase"
14 },
15 "context":{
16 "name":"Product Details",
17 "attributes":{
18 "Category":"Televisions"
19 }
20 },
21 "object":{
22 "type":"Television",
23 "name":"Samsung 123",
24 "attributes":{
25 "Screen Size":"60 Inches",
26 "Screen Type":"OLED"
27 }
28 }
29}
30
Updated 11 Dec 2023
Did this page help you?