This repository has been archived by the owner on May 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove reference to experiments and main bucket
- Loading branch information
Showing
4 changed files
with
148 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,136 +1,158 @@ | ||
{ | ||
"live": { | ||
"experiments": [ | ||
{ | ||
"id": 16, | ||
"name": "Homepage - Hero Banner", | ||
"status": "live", | ||
"targeting": { | ||
"views": { | ||
"include": [ | ||
"/$" | ||
], | ||
"exclude": [] | ||
}, | ||
"audiences": { | ||
"and": [ | ||
{ | ||
"==": [ | ||
{ | ||
"var": "country" | ||
}, | ||
"Canada" | ||
] | ||
}, | ||
{ | ||
"==": [ | ||
{ | ||
"var": "state" | ||
}, | ||
"BC" | ||
] | ||
} | ||
] | ||
} | ||
"experiments": { | ||
"nM3ntXmMj2dX86xnrvVK": { | ||
"id": "nM3ntXmMj2dX86xnrvVK", | ||
"siteId": "djGYAl2Dx0JDGuAm5mph", | ||
"name": "Homepage - Hero Banner", | ||
"environment": "production", | ||
"manualPageview": false, | ||
"targeting": { | ||
"views": { | ||
"include": [ | ||
"/$" | ||
], | ||
"exclude": [] | ||
}, | ||
"variations": [ | ||
{ | ||
"id": 22, | ||
"trafficAllocation": { | ||
"max": 100, | ||
"min": 0 | ||
"segments": { | ||
"and": [ | ||
{ | ||
"==": [ | ||
{ | ||
"var": "country" | ||
}, | ||
"Canada" | ||
] | ||
}, | ||
"components": { | ||
"Hero": { | ||
"id": 25, | ||
"variables": { | ||
"backgroundImage": "https://placeimg.com/1000/500/animals" | ||
} | ||
} | ||
{ | ||
"==": [ | ||
{ | ||
"var": "state" | ||
}, | ||
"BC" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"variations": { | ||
"GhPz7J72ABIQvOqdTtnm": { | ||
"id": "GhPz7J72ABIQvOqdTtnm", | ||
"experimentId": "nM3ntXmMj2dX86xnrvVK", | ||
"siteId": "djGYAl2Dx0JDGuAm5mph", | ||
"trafficAllocation": { | ||
"max": 50, | ||
"min": 0 | ||
}, | ||
{ | ||
"id": 23, | ||
"trafficAllocation": { | ||
"max": 100, | ||
"min": 51 | ||
}, | ||
"components": { | ||
"Hero": { | ||
"id": 25, | ||
"variables": { | ||
"backgroundImage": "https://placeimg.com/1000/500/arch" | ||
} | ||
"components": { | ||
"Hero": { | ||
"id": "PjaBNzyQYP2W8zESoELs", | ||
"variationId": "GhPz7J72ABIQvOqdTtnm", | ||
"experimentId": "nM3ntXmMj2dX86xnrvVK", | ||
"siteId": "djGYAl2Dx0JDGuAm5mph", | ||
"variables": { | ||
"backgroundImage": "https://placeimg.com/1000/500/animals" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"id": 17, | ||
"name": "Homepage - Hero Headline", | ||
"status": "draft", | ||
"targeting": { | ||
"views": { | ||
"include": [ | ||
"/$" | ||
], | ||
"exclude": [] | ||
}, | ||
"RyQqWxnWqumQ7WpjvLr6": { | ||
"id": "RyQqWxnWqumQ7WpjvLr6", | ||
"experimentId": "nM3ntXmMj2dX86xnrvVK", | ||
"siteId": "djGYAl2Dx0JDGuAm5mph", | ||
"trafficAllocation": { | ||
"max": 100, | ||
"min": 51 | ||
}, | ||
"audiences": { | ||
"and": [ | ||
{ | ||
"==": [ | ||
{ | ||
"var": "country" | ||
}, | ||
"France" | ||
] | ||
}, | ||
{ | ||
"==": [ | ||
{ | ||
"var": "state" | ||
}, | ||
"BC" | ||
] | ||
"components": { | ||
"Hero": { | ||
"id": "PjaBNzyQYP2W8zESoELs", | ||
"variationId": "RyQqWxnWqumQ7WpjvLr6", | ||
"experimentId": "nM3ntXmMj2dX86xnrvVK", | ||
"siteId": "djGYAl2Dx0JDGuAm5mph", | ||
"variables": { | ||
"backgroundImage": "https://placeimg.com/1000/500/arch" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"C74lbTFFVUk6Zj76ysMK": { | ||
"id": "C74lbTFFVUk6Zj76ysMK", | ||
"siteId": "djGYAl2Dx0JDGuAm5mph", | ||
"name": "Homepage - Hero Headline", | ||
"environment": "development", | ||
"manualPageview": true, | ||
"targeting": { | ||
"views": { | ||
"include": [ | ||
"/$" | ||
], | ||
"exclude": [] | ||
}, | ||
"variations": [ | ||
{ | ||
"id": 24, | ||
"trafficAllocation": { | ||
"max": 50, | ||
"min": 0 | ||
"segments": { | ||
"and": [ | ||
{ | ||
"==": [ | ||
{ | ||
"var": "country" | ||
}, | ||
"France" | ||
] | ||
}, | ||
"components": { | ||
"Hero": { | ||
"id": 25, | ||
"variables": { | ||
"headline": "Awesome control variation!" | ||
} | ||
{ | ||
"==": [ | ||
{ | ||
"var": "state" | ||
}, | ||
"BC" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"variations": { | ||
"HmXushDwr8vroLEIYGdc": { | ||
"id": "HmXushDwr8vroLEIYGdc", | ||
"experimentId": "C74lbTFFVUk6Zj76ysMK", | ||
"siteId": "djGYAl2Dx0JDGuAm5mph", | ||
"trafficAllocation": { | ||
"max": 50, | ||
"min": 0 | ||
}, | ||
"components": { | ||
"Hero": { | ||
"id": "PjaBNzyQYP2W8zESoELs", | ||
"variationId": "HmXushDwr8vroLEIYGdc", | ||
"experimentId": "C74lbTFFVUk6Zj76ysMK", | ||
"siteId": "djGYAl2Dx0JDGuAm5mph", | ||
"variables": { | ||
"headline": "Awesome control variation!" | ||
} | ||
} | ||
} | ||
}, | ||
"RHImVSAalXTbKoNtYdGM": { | ||
"id": "RHImVSAalXTbKoNtYdGM", | ||
"experimentId": "C74lbTFFVUk6Zj76ysMK", | ||
"siteId": "djGYAl2Dx0JDGuAm5mph", | ||
"trafficAllocation": { | ||
"max": 100, | ||
"min": 51 | ||
}, | ||
{ | ||
"id": 25, | ||
"trafficAllocation": { | ||
"max": 100, | ||
"min": 51 | ||
}, | ||
"components": { | ||
"Hero": { | ||
"id": 25, | ||
"variables": { | ||
"headline": "Awesome variation 1!" | ||
} | ||
"components": { | ||
"Hero": { | ||
"id": "PjaBNzyQYP2W8zESoELs", | ||
"variationId": "RHImVSAalXTbKoNtYdGM", | ||
"experimentId": "C74lbTFFVUk6Zj76ysMK", | ||
"siteId": "djGYAl2Dx0JDGuAm5mph", | ||
"variables": { | ||
"headline": "Awesome variation 1!" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Components | ||
export const LOAD_COMPONENT= `[COMPONENT] %s`; | ||
export const LOAD_COMPONENT_EXPERIMENTS = `Running experiments:`; | ||
export const VIEW_EXPERIMENT = 'View experiment: %s'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters