All the flexibility of the formatting - check (it's beautiful Joe)
The accept and decline buttons - check
The classes - yup makes sense
The cookies jar itself (the stuff you don't want to load)- woa, this is escaping me. In one of the videos it said no script tags....but then I saw script tags in the sample file and if you don't have script tags how do you separate the code?
There are three main cookies I have to turn off: Beehiiv, Google and Meta
Here's the code for each, with a bit of Lalalala in place of my numbers
Google:
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Lalalala"></script>
<script>
window.onload = function() {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-Lalalala');
}
</script>
Meta:
<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(‘init’, ‘lalalala’);
fbq(‘track’, ‘PageView’);
</script>
<noscript><img height=“1” width=“1" style=“display:none”
src=“https://www.facebook.com/tr?id=lalala&ev=PageView&noscript=1”
/></noscript>
Beehiiv:
<iframe src="https://embeds.beehiiv.com/lalalala?slim=true" data-test-id="beehiiv-embed" height="52" frameborder="0" scrolling="no" style="margin: 0; border-radius: 0px !important; background-color: transparent;"></iframe>
How do I put it in the jar?!
Thank you!
Mila