The latest requirement to comply with European GDPR is that user must opt in and be able to change cookie settings to select necessary/statistics/marketing cookies separately. Cookiebot have a solution for this and recommend installing their script as a tag within Google Tag Manager. All other tags such as Google analytics, Hotjar, and Facebook Pixel need to then also be set up within GTM which as I understand then only fires those tags when cookie consent has been given.
However within GTM there isn't an official Facebook Pixel Tag.
I have several questions:
1. Can Cookiebot actually control the cookies if GTM is not used? For example if each 3rd party tracking app is installed as custom tracking code whereby Cookiebot is the first custom code and then the integrations follow will Cookiebot actually block this from running if consent hasn't been given? Below is the way I found in Cookiebot support to adjust the custom code for facebook.
<script type="text/plain" data-cookieconsent="marketing">
s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js');
<!-- End Facebook Pixel Code --
3. I haven't been able to make the cookies declaration work.. I have tried placing the following code both as an marketing integration in the header, the body, and within an html iframe. How do you get this thing to actually run and display the declaration on a Wix page?