Plugin echoes script text outside of tag

[ad_1]

Hi,

We’re facing an issue on our site since a couple of days where Complianz echoes a script outside of the <script> tag at the very bottom of the site, which shows up as text on the frontend. (It isn’t visible on desktop as the site uses a custom scrolling library which leaves the code outside the window, but can be seen on mobile or by accessing the wp-login page)

The code displayed is the following:

if(sessionStorage.pageViewCount) { var pvc = parseInt(sessionStorage.getItem("pageViewCount")) +1; sessionStorage.setItem("pageViewCount",pvc); } //if no, then just create it and set as '1'. (first pageview) else if(!sessionStorage.pageViewCount) { sessionStorage.setItem("pageViewCount",1); }

Disabling integrations with the safe mode option doesn’t fix the issue. The only custom script is a Facebook pixel (which we have stripped the <img> part from as it isn’t compatible with Complianz)

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer