Skip to content

Instantly share code, notes, and snippets.

@lpappone
Created March 7, 2017 22:51
Show Gist options
  • Save lpappone/d07e18a45d7a45d94bcc41262b025170 to your computer and use it in GitHub Desktop.
Save lpappone/d07e18a45d7a45d94bcc41262b025170 to your computer and use it in GitHub Desktop.
Example datafile in option 5 format (based on https://cdn.optimizely.com/json/8249098549.json)
{
"version": "2",
"projectId": "8249098549",
"experiments": [
{
"status": "Running",
"audienceIds": [],
"variations": [
{
"id": "8263164490",
"key": "var1"
},
{
"id": "8250839728",
"key": "var2"
}
],
"id": "8255840454",
"key": "demo_exp",
"layerId": "8258485258",
"trafficAllocation": [
{
"entityId": "8263164490",
"endOfRange": 5000
},
{
"entityId": "8250839728",
"endOfRange": 10000
}
],
"forcedVariations": {}
}
],
"audiences": [],
"groups": [
{
"policy": "random",
"trafficAllocation": [
{
"entityId": "8255840454",
"endOfRange": 4500
}
],
"id": "8256890871"
}
],
"attributes": [],
"revision": "6",
"events": [],
"accountId": "1592310167"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment