color promo experiment
This commit is contained in:
parent
da4338ed69
commit
b2c1daa6c7
8 changed files with 23 additions and 14 deletions
|
@ -1,10 +1,10 @@
|
|||
import hash from 'string-hash';
|
||||
|
||||
const experiments = {
|
||||
'SyI-hI7gT9agiH-f3f0BYg': {
|
||||
id: 'SyI-hI7gT9agiH-f3f0BYg',
|
||||
XnN0idVWSxO6A0kiNkxzGw: {
|
||||
id: 'XnN0idVWSxO6A0kiNkxzGw',
|
||||
run: function(variant, state, emitter) {
|
||||
state.promo = variant === 1 ? 'body' : 'header';
|
||||
state.promo = variant === 1 ? 'blue' : 'grey';
|
||||
emitter.emit('render');
|
||||
},
|
||||
eligible: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue