AB Experiments (Satori)
Run AB Experiments with Satori, the LiveOps solution from HeroicLabs.
Introduction
AB Experiments are set up on the Satori Dashboard. Ensure your Satori instance is set up and you can access your game dashboard.
This document provides instructions for setting up the Example AB Test use case described below.
Satori’s terminology differs from other tools, such as Firebase. Below you can find how the corresponding pairs of Firebase terms in Satori:
Firebase vs. Satori:
——————————
Remote Config
→ Feature Flag
Experiment Cohort
→ Experiment Variant
Note: Looker also uses Experiment Cohort
to refer to Experiment Variant
Requirements
Make sure that you have set up Remote Configuration as experiments depend on remote configurations following the guide here: Remote Configuration
Configure your
Lion - Remote Config
settings to use Satori as the remote config adapter. More info here.Design your experiment - what are your hypotheses, goals, and game levers? Please see our Experiment Best Practices.
LionSDK will automatically fire the
ab_cohort
event to LionAnalytics, allowing us to analyze the experiment results.Every experiment needs a unique name, and we need a special (unique for the experiment) feature flag that tracks which variant the player has been assigned for that experiment. LionSDK will automatically check for a feature flag with the following naming convention and use that to fire the required
ab_cohort
event for you.“
exp_[EXPERIMENT NAME]
" (replace[EXPERIMENT NAME]
with your unique name)
Ensure you have all necessary events firing in your game that you will use for analysis. See our Analytics: 1. Planning guide for more information.
Follow Satori’s conceptual documentation here to understand the concept of experiments and experiment phases. If you need to change the current experiment configurations, stop the current phase, fix and start a new one.
See our example below to understand better how to set up your Experiment correctly.
Analyze Results - Once your experiment is complete, please see the Dashboards & Analysis section here: Dashboard & Analysis
Example Experiment (AB Test) Use Case
The Product team wants to run an experiment using Satori Remote Config to optimize the level at which interstitial ads start showing in the game. The Product team wants to run an experiment using Satori Remote Config on the game King Wing (3 letter code:
KWI
) to evaluate the impact of different interstitial ad timings. The experiment is namedkwi_and_new.inter.timer
, with the following variants and configurations:Variantsinter_between_timeinter_start_timecontrol
90
90
aggressive
60
60
passive
120
120
Each variant/cohort of the experiment will receive a different value for the
inter_between_time
and theinter_start_time
parameter, allowing the team to treat users differently by assigning them different values.There will be 3 experiment variants:
“control”
,“aggressive”
, andpassive
.Users will be equally distributed among the experiment variants.
The experiment will be concluded, and existing participants will be grandfathered. This means that they will continue to receive their existing treatments, while no new users will be added to the experiment.
Example Dashboard & Client Setup
On the Satori dashboard go to the Feature Flags tab and click the
"Create Feature Flag"
button and create 3 new feature flags calledinter_between_time
,inter_start_time
andexp_kwi_and_NewInterTimer
. These 3 parameters will be used in our experiment setup.The
exp_kwi_and_NewInterTimer
parameter serves as an internal identifier to track which cohort variant a player belongs to. This parameter will be set to one of three values: control, aggressive, or passive.
Create an
Experiment
calledkwi_and_new.inter.timer
following the instructions provided here.

Setup the
Metrics
andTarget Audience
Setup your Variants.
Looking back at our initial guideline here, we want to have 3 groups. The
control
,aggressive
andpassive
.
Select the Feature Flags we want to override. We will use the
inter_between_time
,inter_start_time
, andexp_kwi_and_NewInterTimer
we had created earlier. Make sure to name theexp_kwi_and_NewInterTimer
parameter we had created to match the group it belongs to.On the Schedule a Phase step, select your
Start
andEnd
time for this experiment and click"Create"
Last updated