Skip to main content
Inspiring
July 11, 2022
Question

One-Trust Cookies banner script gives strange result.

  • July 11, 2022
  • 2 replies
  • 1068 views

Hi,

I added One-Trust script for cookies banner and the output gives some unexpected results.

Main page doen't display the content and in topics there is additional content.

This is the script:

<!-- OneTrust Cookies Consent Notice start for help.english.com -->
<script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" type="text/javascript" charset="UTF-8" data-domain-script="a5bb5a1c-e336-40f5-9902-2413499c0da8"></script>
<script type="text/javascript">
//<![CDATA[
function OptanonWrapper() {}
//]]>
</script>
<!-- OneTrust Cookies Consent Notice end for help.english.com -->

 

Did anyone have a similar issue? Do you see any obvious mistake in the script?

    This topic has been closed for replies.

    2 replies

    Sleant
    Inspiring
    June 26, 2024

    I get the exact same blown up magnifying glass! Did you ever find a solution? This would greatly help us go from html5 to frameless output. Praying you got a solution. Thank you.

    Peter Grainge
    Community Expert
    Community Expert
    July 11, 2022

    I don't know if it is the same issue and I certainly cannot comment on the script. However, I had a similar issue with a script I was given to inject into some topics. I went to the people who provided the script and told them it was not working in topics that were HTML5 and CSS3 compliant.

     

    They provided a different script. Perhaps you could go back to where you got your script?

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    AngelikasAuthor
    Inspiring
    July 12, 2022

    OK, thank you Peter, I will 🙂

    AngelikasAuthor
    Inspiring
    July 15, 2022

    I don't know for sure about needing GDPR for cookies but I would expect it is required.

     

    Turn it on in the skin editor.

     

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     


    Thanks @Peter Grainge yes, I know how to turn it on. The problem is that when it is on, the home page is empty.