When using the Optimizely Web Experimentation APIs you will need several identifiers found in the Optimizely application.
- creating the JSON object you use to send information to the Optimizely Event API.
- exporting Enriched Events Export data using the Optimizely Authentication API.
Go to Account Settings > Plan. The Account ID (
account_id) is found at the top of the page to the right of the Account Information section.
Go to the project you will be sending events for. Click Experiments > [your experiment name] > API Names.
|Event API variable||Name on page||Where to find in the UI|
|campaign_id||Campaign ID||Under the Experiment Details section.|
|experiment_id||Experiment ID||Last ID in the Experiment Details section.|
|variation_id||[your variation names]||In the Variations section.|
|entity_id||[your event names]||In the last section, named Events.|
|key||Events > API Name||In the last section, named Events.|
The following image highlights each ID shown on the API Names page.
Updated 10 months ago