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="//cdn.cookie-script.com/s/************.js"></script>

3. Facebook pixel code inserted:

<!-- Facebook Pixel Code -->
<script>
  !function(f,b,e,v,n,t,s)
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  n.queue=[];t=b.createElement(e);t.async=!0;
  t.src=v;s=b.getElementsByTagName(e)[0];
  s.parentNode.insertBefore(t,s)}(window, document,'script',
  'https://connect.facebook.net/en_US/fbevents.js');
  fbq('consent', 'revoke');
  fbq('init', '***********');
  fbq('track', 'PageView');`
</script>
<noscript><img height="1" width="1" style="display:none"
  src="https://www.facebook.com/tr?id=*********&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->

4. Google code inserted:

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

  gtag('config', 'G-******');
</script>

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