• Hi, I’ve tried to block the script from Typebot in the Complianz Script Center but either do not get it blocked or blocking works but breaks teh script after acceptance.

    An example of the script snippet that creates the Typebot popup:

    <script type="module">
      import Typebot from "https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js";
    
      Typebot.initBubble({
        typebot: "unique-code-key",
        theme: {
          button: { backgroundColor: "#0042DA", iconColor: "#FFFFFF" },
          previewMessage: { backgroundColor: "#ffffff", textColor: "black" },
          chatWindow: { backgroundColor: "#ffffff" },
        },
      });
    </script>

    Is there any way to block this until acceptance of the cookie banner without breaking it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @ravanh,

    I think you should be able to let the Typebot plugin remain activated, but don’t add the pop-up initialization code to it yet.

    Instead, copy the pop-up initialization code to the Complianz Script Center, specifically to Complianz > Integrations > Script Center > Add a third-party script. Save it twice to ensure that the caches are emptied.

    You should end up with a set-up like below (but in your case the code would start with Typebot.initBubble), and the pop-up would be triggered after consent.

    Kind regards, Jarno

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    Thank you @jarnovos that worked perfectly! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to exclude Typebot?’ is closed to new replies.