Winning Variant defines an “assignment” as the variant a subject is assigned within an experiment.

Example

Imagine you have a series of experiments running on your website:

Experiment IDDescriptionSubject Type
home-ctaRed/blue/green CTA button on home pageanonymous_id
cart-noticeShow a notice after 30s to improve cart abandonment.anonymous_id
feature-calloutShow a new feature callout in-app and see if engagement increases.user_id

Vanessa is a known user on your platform. When she accesses your website, she has two subject IDs:

  1. Anonymous ID (anonymous_id): anon_0001
  2. Known User ID (user_id): user_0001

If Vanessa enters all 3 experiments, she’ll have 3 assignments:

Experiment IDSubject IDAssignment IDExperiment Variant
home-ctaanon_0001assignment_001red
cart-noticeanon_0001assignment_002treatment
feature-calloutuser_0001assignment_003feature-a

Context

Assignments are immutable (with a few administrative exceptions) and contain context to when they are created. Specifically, an assignment has timestamp of when it was created and the cohort number within the experiment they entered in. This allows you to properly attribute a subject’s actions to their cohort and/or when they first experienced an experiment.

Assignment Data

Read more about the raw assignment data that’s provided from the application.