Support » Plugin: ScrapeBreaker » Plugin breaks Visual Website Optimizer

  • Resolved csdaavid



    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?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Red Sand Media Group


    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 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

    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 Red Sand Media Group


    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.