Skip to main content

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

Optimizely Knowledge Base

Implement Optimizely with Ensighten

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

This article will help you:
  • Implement the Optimizely snippet if you're using Ensighten
  • Set the order of priority for Optimizely and your analytics tags using Ensighten

When you set up Optimizely for the first time, you'll need to implement the Optimizely snippet: a single line of code that lets you start running A/B tests. You can use a tag management system to implement the Optimizely snippet. 

This article walks you guides you through using Ensighten's tag management system to implement the snippet.

Learn important best practices and pitfalls for implementing Optimizely with a tag manager, or to choose a different tag management system.

Here’s how to deploy Optimizely's snippet synchronously with Ensighten:

  1. In Ensighten Manage, create a new deployment.

  2. In the Project Script URL field, add your Optimizely snippet, starting with the two slashes (for example, // Click Next.

  3. Set the Condition to Global and the Execution to Immediate. Click Next.

  4. Set the order of priority so that Optimizely fires before other tags, including your analytics tags and any other asynchronous tags. Click Save.