Options
All
  • Public
  • Public/Protected
  • All
Menu

A user received an experiment on Artsy.

This schema describes events sent to Segment from [[experimentViewed]].

example
 {
   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 about payload here: https://docs.getunleash.io/advanced/toggle_variants#variant-payload.

Hierarchy

  • ExperimentViewed

Index

Properties

action

action: experimentViewed

Optional context_module

context_module: ContextModule

Optional context_owner_id

context_owner_id: undefined | string

Optional context_owner_screen

context_owner_screen: OwnerType

Optional context_owner_slug

context_owner_slug: undefined | string

context_owner_type

context_owner_type: OwnerType

experiment_name

experiment_name: string

Optional payload

payload: undefined | string

service

service: "unleash"

variant_name

variant_name: string

Generated using TypeDoc