Check that the snippet is implemented

  • Updated
  • Optimizely Web Experimentation
  • Optimizely Web Personalization
  • Optimizely Performance Edge

Find the snippet on the page

First, check that the snippet is implemented on the page. You can do this by typing 'optimizely' into the JavaScript console. This example uses Google Chrome for troubleshooting and testing.

  1. Open the developer console.
  2. Click Console, then enter "optimizely" into Search.

  3. If the snippet is implemented, you will see it in the following format:
    <script src="//"></script>

If the snippet is not on the page, implement the snippet. If it is, check that it is the correct snippet.

Check that it is the correct snippet

After you find the snippet on your page, make sure that the snippet on the page matches the project that you are working on.

  1. In your project, go to Settings Implementation.
  2. Check the ID on your page matches the snippet on your Snippet Implementation page. 

    If your account uses custom snippets, you might see more than one snippet listed. In this case, choose the snippet you are using for your experiment.