Skip to main content
menu_icon.png

Everything you need to switch from Optimizely Classic to X in one place: See the Optimizely X Web Transition Guide.

x
Optimizely Knowledge Base

API Names: Find masked IDs for troubleshooting

Skip Ahead

 
 
relevant products:
  • Optimizely X Web Experimentation
  • Optimizely X Web Personalization
  • Optimizely X Web Recommendations

THIS ARTICLE WILL HELP YOU:
  • Find an experiment ID, campaign ID, audience ID, variation ID, or event ID
  • Identify an audience, campaign, or page by its ID when descriptive names are masked
  • Troubleshoot using the JavaScript API, console log, or network panel

Sometimes, it's useful to know an experiment or campaign ID for troubleshooting. 

For example, masking descriptive names prevents you (or anyone else) from seeing the name of a variation or campaign in the console. Instead, the JavaScript API, console log, and network panel return a masked identifier: a string of numbers. This is great for privacy, but challenging for troubleshooting.

Use the API Names panel to find: 

  • Experiment or campaign IDs
  • Variation IDs
  • Audience IDs
  • Page IDs
  • Event IDs

Here's a quick walkthrough, followed by step-by-step instructions:

  1. Navigate to your experiment or campaign.

  2. Select the API Names tab to view the campaign or experiment ID, variation IDs, audience IDs, and more.