Properties
action
action: experimentViewed
Optional context_owner_id
context_owner_id: undefined | string
Optional context_owner_screen
Optional context_owner_slug
context_owner_slug: undefined | string
experiment_name
experiment_name: string
Optional payload
payload: undefined | string
service
service: "unleash"
variant_name
variant_name: string
A user received an experiment on Artsy.
This schema describes events sent to Segment from [[experimentViewed]].
{ action: "experiment_viewed", experiment_name: "some_experiment_we_are_running", variant_name: "cool_new_variant", payload: "10", // optional context_owner_type: "artwork", context_owner_id: "55ed8ca57261693d930000b8", context_owner_slug: "slug" }
payload
is used for variable values that can be sent to the clients as part of the variant. Specifically for Unleash, find some docs aboutpayload
here: https://docs.getunleash.io/advanced/toggle_variants#variant-payload.