Cookie consent by Cookie-script

Hi everyone,

i’m trying to set up cookie-script solution in a site that will be hosted outside of webflow and i can’t make it work so facebook pixel helper and google tag assistant doesn’t detect the pixel when i accept the cookie consent banner.

This is my setup:

1. Integrations: all fields parameters are in blank/no filled as im using the scripts in the custom code field.

2. Cookiescript code inserted in custom code:

<script type="text/javascript" charset="UTF-8" src="//************.js"></script>

3. Facebook pixel code inserted:

<!-- Facebook Pixel Code -->
  s.parentNode.insertBefore(t,s)}(window, document,'script',
  fbq('consent', 'revoke');
  fbq('init', '***********');
  fbq('track', 'PageView');`
<noscript><img height="1" width="1" style="display:none"
<!-- End Facebook Pixel Code -->

4. Google code inserted:

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="******"></script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-******');

5. In Cookie-script dashboard i have:

  • Reload page after a suer allows rejects cookies
  • Enabled Google consent mode
  • Enabled Facebook consent mode
  • “Keep Google analytics”

I hope you could help me with this please.

thank you.

Here is my site Read-Only: Link