• Resolved vinnard

    (@vinnard)


    Hi.

    I need help with my script and cookie

    I have this script that adds a widget to the website:

    <script type="text/javascript">
    (function(d, w, s) {
    var widgetHash = 'ldPlpmhFEP2znaSryO0B', bch = d.createElement(s); bch.type = 'text/javascript'; bch.async = true;
    bch.src = '//widgets.binotel.com/chat/widgets/' + widgetHash + '.js';
    var sn = d.getElementsByTagName(s)[0]; sn.parentNode.insertBefore(bch, sn);
    })(document, window, 'script');
    </script>

    The plugin blocks it, and the widget is not displayed on the site.
    How can I allow this script to execute only after the user accepts the cookies?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter vinnard

    (@vinnard)

    website: https://bpozenko.com/

    error screen https://imgur.com/a/VfZK35Q

    • This reply was modified 7 months ago by vinnard.
    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @vinnard

    Greetings from CookieYes!

    It looks like you’re currently using a third-party cookie banner plugin instead of CookieYes. If the issue occurred while using CookieYes, please keep it active so we can investigate further and provide you with an effective solution.

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @vinnard

    This thread has been inactive for a bit, so we are going to mark it as resolved now. Please feel free to open a new thread or follow-up if you have any further questions or still need help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘add scripts after accept cookie’ is closed to new replies.