Last active
September 18, 2017 12:44
-
-
Save nikolasblanchet-optimizely/87973cfa4b0c3ef6717eb60a6ba46fc0 to your computer and use it in GitHub Desktop.
This JSON file is a sample used to demonstrate mapping the various IDs in a product's datafile to the IDs needed for the Optimizely X API. This Gist goes with KB article: https://help.optimizely.com/Integrate_Other_Platforms/How_to_locate_IDs_for_the_Optimizely_X_Event_API.
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
{ | |
"version": "2", | |
"projectId": "9352942545", | |
"experiments": [ | |
{ | |
"status": "Not started", | |
"audienceIds": [], | |
"variations": [ | |
{ | |
"id": "6404851286", | |
"key": "NO_WISH_LIST_FEATURE" | |
}, | |
{ | |
"id": "4429569305", | |
"key": "SHOW_WISH_LIST" | |
} | |
], | |
"id": "4381824755", | |
"key": "WISH_LIST_FEATURE_ROLLOUT", | |
"layerId": "1363949190", | |
"trafficAllocation": [ | |
{ | |
"entityId": "4429569305", | |
"endOfRange": 5000 | |
}, | |
{ | |
"entityId": "6404851286", | |
"endOfRange": 10000 | |
} | |
], | |
"forcedVariations": {} | |
}, | |
{ | |
"status": "Not started", | |
"audienceIds": [], | |
"variations": [ | |
{ | |
"id": "6848562798", | |
"key": "POPULARITY_SORT" | |
}, | |
{ | |
"id": "1647531815", | |
"key": "SORT_BY_PRICE" | |
} | |
], | |
"id": "8403352966", | |
"key": "SORTING_ALGORITHM_EXPERIMENT", | |
"layerId": "8404883347", | |
"trafficAllocation": [ | |
{ | |
"entityId": "6848562798", | |
"endOfRange": 5000 | |
}, | |
{ | |
"entityId": "1647531815", | |
"endOfRange": 10000 | |
} | |
], | |
"forcedVariations": {} | |
}, | |
{ | |
"status": "Paused", | |
"audienceIds": [], | |
"variations": [ | |
{ | |
"id": "5895524347", | |
"key": "regular_shopper" | |
}, | |
{ | |
"id": "8404413532", | |
"key": "price_sensitive" | |
} | |
], | |
"id": "8404883348", | |
"key": "PRICE_SENSITIVITY_TEST", | |
"layerId": "8404751567", | |
"trafficAllocation": [ | |
{ | |
"entityId": "8404413532", | |
"endOfRange": 250 | |
}, | |
{ | |
"entityId": "", | |
"endOfRange": 5000 | |
}, | |
{ | |
"entityId": "5895524347", | |
"endOfRange": 5250 | |
}, | |
{ | |
"entityId": "", | |
"endOfRange": 10000 | |
} | |
], | |
"forcedVariations": {} | |
} | |
], | |
"audiences": [], | |
"groups": [], | |
"attributes": [], | |
"revision": "16", | |
"events": [ | |
{ | |
"experimentIds": [], | |
"id": "6431058684", | |
"key": "COMPLETED_PURCHASE" | |
}, | |
{ | |
"experimentIds": [], | |
"id": "2491806650", | |
"key": "ADD_TO_CART" | |
} | |
], | |
"accountId": "9367106729" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment