Title: Plugin breaks Visual Website Optimizer
Last modified: August 22, 2016

---

# Plugin breaks Visual Website Optimizer

 *  Resolved [csdaavid](https://wordpress.org/support/users/csdaavid/)
 * (@csdaavid)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-website-optimizer/)
 * Hi!
 * The plugin is awesome, but we have a problem. We are using Visual Website Optimizer
   to run heatmap and split tests on our site. Unfortunately the plugin blocks our
   tests too. We wrote to VWO support and they said we should implement a JS code
   snippet to make an exception for VWO and we can run the test.
 * This is the code:
 *     ```
       if(document.referrer.indexOf('visualwebsiteoptimizer') == -1 && document.referrer.indexOf('vwo')==-1 && top.location != location)
       ```
   
 * Is there a way to implement this and solve the problem?
 * Thanks!
 * [https://wordpress.org/plugins/scrapebreaker/](https://wordpress.org/plugins/scrapebreaker/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [redsand](https://wordpress.org/support/users/redsand/)
 * (@redsand)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-website-optimizer/#post-5948010)
 * Hi csdaavid,
 * Thank you. I’m glad you like the plugin.
 * Can you be a bit more description about exactly what is happening?
 * Unfortunately, saying it “breaks Visual Website Optimizer” and it “blocks our
   tests” doesn’t really give me much idea of where you’re issue lies.
 * Is the Visual Website Optimizer website placing your website in a frame in their
   admin, or is it that it’s creating different URL variations that are redirecting
   to the original page?
 * If it is the URLs, please post the A/B URL variations of the different versions
   you’re testing, along with the URL of the original page they are tied to. (And
   redirecting back to?) This will help me see what we’re dealing with. If you don’t
   feel comfortable posting that info, you can go to our [WordPress plugin support page](http://www.redsandmarketing.com/plugins/wordpress-plugin-support/)
   and email it to us through the form.
 * The JavaScript in the plugin is a little more advanced than the code they provided
   you, so I’d like to see if we can create a more universal solution.
 * – Scott
 *  Thread Starter [csdaavid](https://wordpress.org/support/users/csdaavid/)
 * (@csdaavid)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-website-optimizer/#post-5948113)
 * Hi Scott!
 * Thanks for the quick reply. The tester quy wasn’t clear and I thought the plugin
   breaks the whole test, but it isn’t the case. The problem is when the tester 
   guy wants to check the page in VWO admin, as you said, it placing the site into
   a frame and he doesn’t see the heatmap datas, because of ScreapBreaker. But it’s
   not a big problem because we can switch off the plugin while we are checking 
   VWO datas.
    If you have a more convenient solution, please let me know. Thanks!
 *  Plugin Contributor [redsand](https://wordpress.org/support/users/redsand/)
 * (@redsand)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-website-optimizer/#post-5948115)
 * Hey csdaavid,
 * You’re very welcome. It sounds like the plugin is doing its job. 🙂 Yes, it sounds
   like that is the best solution to just switch it off while you check the data.
 * Glad everything is working out now. Have a good one.
 * – Scott

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin breaks Visual Website Optimizer’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/scrapebreaker_655951.svg)
 * [ScrapeBreaker](https://wordpress.org/plugins/scrapebreaker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/scrapebreaker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/scrapebreaker/)
 * [Active Topics](https://wordpress.org/support/plugin/scrapebreaker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/scrapebreaker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/scrapebreaker/reviews/)

## Tags

 * [exception](https://wordpress.org/support/topic-tag/exception/)
 * [script](https://wordpress.org/support/topic-tag/script/)
 * [tests](https://wordpress.org/support/topic-tag/tests/)

 * 3 replies
 * 2 participants
 * Last reply from: [redsand](https://wordpress.org/support/users/redsand/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-website-optimizer/#post-5948115)
 * Status: resolved