This article will help you:
  • Check whether your experiment is running
  • Figure out why you don’t see visitors or conversions on your Results page
  • Figure out why you can’t see your variations
  • Confirm your experiment’s targeting conditions

Are you experiencing any of the following issues? Then this article will help you get to the root cause:

  • You started an experiment, but after an hour or more you’re still not seeing visitors or conversions come through on the Results page.
  • The experiment doesn’t seem to be running on the page, and you can’t see any of the variations in your browser (outside of the Editor).
  • You can see variations when you use the force parameter, but not when you view the page in your browser without the force parameter.
  • Your Optimizely experiment is running, and you see visitors and conversions on your Results page, but can’t see the experiment live in your browser (outside of the Editor).

Usually, this problem has to do with activation or targeting issues. We’ll walk you through what that means and how to troubleshoot it.

Here’s when this article may not be for you:

  • You’re seeing visitors on your Results page, but not conversions. Or you’re not seeing results for a certain variation. If that’s the case, see our article on troubleshooting variation content.
  • You’re having trouble with goal tracking. If that’s the case, see our article on troubleshooting goals

1. Check the snippet on the page

Before you begin this troubleshooting process, quickly make sure that the Optimizely Snippet is on your page, as high as possible in the <head> tag, and that there is only one Optimizely Snippet on the page.

Optimizely works best when installed directly in the <head> tag of every page you would like to test. Having more than one Optimizely Snippet on the page, even it’s for a different project, can create complications.

You can also check your Diagnostic Report to make sure your snippet is installed and your experiment is live.

2. Make sure your experiment is running on the page, and you're bucketed into the variation

If your snippet is implemented correctly, check whether the experiment is active and you are bucketed into the correct variation. Here’s how to do that:

  1. Make sure that your experiment is in Running status on your Home page.
     
  2. Optimizely provides an easy way for determining whether an experiment is running. Go to the URL where you’re running the experiment, and then open your browser's console.
     
  3. Now, we’ll need to ask Optimizely, “Which experiments are active on this page?“ To do this, examine the Optimizely data object in the next two steps.
     
  4. Type optimizely.activeExperiments into the console. This will return a list of all experiments currently running on the page for you.


     
    1. If you see your current experiment ID, you are bucketed into the experiment. You can find an experiment ID by going to your Home page > Overview > Experiments, then click that experiment and scroll down in the right-hand panel).
       
    2. If you see an empty array ‘[ ]’ then your experiment isn’t active on the page. Investigate further by moving to the section on targeting conditions below.
       
  5. Type optimizely.variationNamesMap into the console. This will return a mapping of experiment IDs to variation names for all experiments on the page into which you are currently cookied, both active and inactive.


     
    1. If this returns the “Original” variation for your experiment, then your experiment is running, but you’re simply looking at the Original variation.
       
    2. Use the force parameter to toggle to another variation, and see whether it appears.
 
Note:

If there are multiple active experiments, make sure they are not colliding (in other words, making different changes to the same element on the page). If there is interference, you can make simultaneous experiments mutually exclusive.


If you see the correct Experiment ID in activeExperiments AND the correct variation name in variationNamesMap, but this hasn’t resolved your issue, continue to the next section.

3. Check for targeting issues

Next verify that your targeting conditions are set correctly: Audience conditions, URL Targeting conditions, or Traffic Allocation. Double-check each of these in Optimizely for obvious errors that would be preventing you from seeing the experiment.

First, check your URL Targeting conditions with the URL Match Validator.

Once you’ve done that, try the following: 

  1. Use the Optimizely Log. This is a data dump of all of Optimizely’s actions and decisions. Open the browser console again, and paste this in:
     
    `window['optimizely'].push(["log"]);` 

    Then hit Enter.
     
  2. Filter the log by your Experiment ID. Paste your Experiment ID into the search field:


     
  3. Check whether the log reveals any Condition errors -- in other words, that you failed to match URL, Audience, or Traffic Allocation conditions.
     
    1. If you’ve failed conditions, and you don’t think you should be failing them, there is a problem with your URL Targeting, Audience, or Traffic Allocation configuration. You’ll need to change them in Optimizely.
       
    2. If you passed the conditions but you’re still not seeing your experiment, move on to the next section on other issues.
 
Note:

You can also push Optimizely’s log at page load by appending
?optimizely_log=true to the end of your URL.

4. Check for other issues

If you’re not experiencing targeting issues, then one of these other issues may be causing the problem:

  1. Are you using manual or conditional activation? Manual and conditional activation require specific visitor actions to take place in order for the experiment to activate. What actions are necessary to activate your experiment and have you taken those necessary steps? Use Optimizely’s log to see where your experiment may not be meeting these conditions by searching the log for your experiment ID.
     
  2. Is your site dynamic? Does your single page application utilize client-side frameworks like Angular.js, Backbone.js, or Ember.js? If so, Optimizely might not be initialized properly when the next page is rendered. Explore some of the options described in this article on Single Page Applications.
     
  3. Is jQuery defined? Optimizely requires jQuery to work properly. Are you including the trimmed or full version of jQuery in Optimizely’s JavaScript Settings? If not, ensure that jQuery is defined before Optimizely is initialized on the page.

Still having trouble? Reach out to the Optiverse community for additional assistance.