• Resolved Webastra

    (@studio-virtu)


    Hello,
    on my SEO alerts I get a notice with a 404 error on my website. When I checked where it could come from, I’ve found a unexpected line in source code :

    <script type=”text/plain” data-cli-class=”cli-blocker-script” data-cli-script-type=”fonctionnel” data-cli-block=”true” data-cli-element-position=”head” type=”text/javascript” src=”//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js” async></script><meta name=”framework” content=”Redux 4.3.3″ />

    This src value leads to :
    https://mywebsite.com//”/widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js
    hence the 404 error.

    I specify that I’m using the free version and from what I understood, the script blocker is not normally accessible. I add to this that the blocker script panel, even grayed out, has nothing active.

    Website is hosted by Kinsta.
    WP Version : 5.8.3
    WP Rocket version : 3.10.5.1
    GDPR Cookie Consent version : 2.0.7.

    Do you have any idea where this might come from?
    Thanks in advance for your help!

Viewing 1 replies (of 1 total)
  • Thread Starter Webastra

    (@studio-virtu)

    Hello again,
    For your information, this issue is now resolved.
    This problematic piece of code appeared just after the integration of the Hotjar script (which I had added in the “analytics” category of your plugin).

    I added this hojar script via google tag manager with a firing of the tag based on the value of the cookie (yes / no) and the problematic line disappeared.

Viewing 1 replies (of 1 total)
  • The topic ‘Weird issue with Trustpilot plugin’ is closed to new replies.