This website works best with JavaScript enabled. Learn how to enable JavaScript.

Troubleshooting: Test Pages Recording Uneven Visitor Data

Last updated

Sometimes, you may notice that your VWO test reports shows different visitor data as compared to another website analytics tool. This article explains the different reasons that cause the discrepancy in the data results.

Resolutions Steps

For JavaScript issues:

  1. The JS code you have entered in the test pages is not executing correctly. If there is an error in the JS code, VWO does not count the number of visitors in test variations.
  2. There can be a case for VWO editor-based campaigns, where the variation version has a code snippet applied to it which reloads the page, based on some condition. As a result, the network call that records the user visits of these campaigns can fail further leading to visits not getting recorded.
  3. If you are using location.reload or location.replace through the VWO code editor directly or indirectly, it may cause an issue in logging visitors for variation containing these method calls.
    1. * Directly: The function is called directly in JavaScript code added by using the code editor for any variation.
    2. * Indirectly: In case you are appending/moving some elements which contain scripts with these method calls.
  4. In case you have tried applying some custom JavaScript changes which further modify VWO campaign cookies through VWO code editor for any variation.
  5. It has also been observed that if we have JS code in variation that sends many additional calls and has multiple setInterval methods which further slows down the variation loading time. This leads to increased bounce rate from variation causing lesser visitors on variation.

For error in variation targeting

Please ensure that you have defined targeting and segmentation for the variations appropriately. Inappropriate segmentation on variations can give you misleading reports on the test.

For Split URL test

The difference in the reports for a Split URL test can be due to a number of factors. For example, a different split URL campaign is running on the control page of other split URL campaign. It will cause log visitor requests for control to get aborted in most cases. Look out for such errors, and remember the following pointers for uniformity in reports:

  1. VWO code should be present on the Variation URL.
  2. Make sure that VWO code is not installed through a tag manager. Also, if the VWO code is installed at the bottom of the page, it can lead to less visits being tracked.
  3. Enable Cross-Domain Tracking if the Variation URL is on a different domain.
  4. The Variation URL you specified in the test should not redirect to another URL. Otherwise, a visit to the variation will not be counted, because the page redirects to another page that has not been defined in the variation URL of the test. This issue can be fixed by adding a redirection by using JS code and adding VWO Sync code before that.
  5. If query parameters are defined in both the control and variation URLs, the variation URL needs to have an asterisk at the end to incorporate the query parameters of Control. For example, you may have the following setup for Control and Variation URLs:
    • Control: http://example.com?abc=123
    • Variation: http://example.com?xyz=456

    In VWO tests, you need to define the URLs, as shown below. An asterisk at the end of the variation URL will take care of the further query parameters which are added when a visitor lands on the variation URL.

    • Control – URL matches: http://example.com?abc=123
    • Variation – URL matches pattern: http://example.com?xyz=456*

Was this article helpful?

Thanks for your feedback!
Please email us at support@vwo.com to tell us what you were looking for. We'll send the answer to your inbox.

Contact Us / Login