Data Streaming
Example Data Events & Objects
3min
login when an actor (user) logs into the system { "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" "john\@doe com" } } } logout { "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" "john\@doe com" } } } custom event product purchase { "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" } } }