Optimizely Examples

Event triggering

Examples of Optimizely event triggering


To test: Click the buttons below and check Optimizely logs in your browser console. Check your network tab for the new API calls made to the Optimizely server and inspect the payload.

  • flag key:
    onyx-5564
  •     
  • experiment
    displayed?
  •     
  • matches
    audience?
  •     
  • variations:
    (click to force)
  •     

user context:
  • country: undefined



Default Banner


EITHER... the user matches the audience and has been placed in the control group
OR... the user does not match the audience


Click the "Clear user cookie" button in the menu above to be treated as a new user