- Figure out why you see no traffic on your Results page
- Figure out why you see zero visitors in a certain variation
- Check that visitors are entering your experiment
Are you experiencing any of the following issues? Use this article to troubleshoot your experiment setup.
You aren't seeing any traffic on the Results page, even an hour or two after you launch the experiment
You aren't seeing visitors in a certain variation on your Results page
Here's when this article may not be for you:
You see visitors on your Results page, but no conversions in a particular variation. See this article on troubleshooting variation content instead.
You see no conversions for a certain goal, or they're much higher or lower than you expect. See this article on troubleshooting goal tracking instead.
1. Check the snippet and experiment status
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. Check 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:
Use the Optimizely Log. This is will show you all of Optimizely’s actions and decisions. Functionality works a little differently for Optimizely X and Classic.
In Optimizely Classic, open the browser console again to read the log, and paste this in:
Then, hit Enter.
In Optimizely X, append the
?optimizely_log=infoquery parameter to your URL to read the log. Then, reload the page.
Filter the log by your Experiment ID. Paste your Experiment ID into the search field:
Check whether the log reveals any Condition errors -- in other words, that you failed to match URL, Audience, or Traffic Allocation conditions.
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.
If you passed the conditions but you’re still not seeing your experiment, move on to the next section on other issues.
If you're familiar with Optimizely Classic, you may be used to using the "log" API to read the logs for the current page load. In Optimizely X, we've updated the client so you must append the optimizely_log parameter, then reload the page to see the log. This minimizes the logging overhead for visitors and pageviews that don't request the log.
Still having trouble? Reach out to the Optiverse Community for assistance.