is there a way to delay google analytics for cookie consent (like it is possible for the facebook pixel)? Maybe even with using the same cookie banner (as described here: https://university.webflow.com/article/facebook-pixel), so that with consent google analytics and the facebook pixel will load?
Thanks for this solution. It looks nice.
I do have two questions to your solution.
To create a Button to make it possible for a user to accept those cookies. Do I only need to create a div with a class (cookie-wrapper) and a button with the class (cookie-accept) and style and position it the way I like? That’s it? (it would be cool to add a quick webflow-tutorial on your page)
how can I test that it works? The Button disappears, and stays hidden after a refresh…but - well. That’s not a real proof that nothing was sent to GA, GTM, FB or HJ or is it?
But I guess, I also need some privacy policy text somewhere on the site. Right?
To explain what my cookies are up to and stuff.
And will you also add YouTube on your list? Because if I’m embedding a YouTube Video it has 4 Cookies in it as well.
If it disappears and doesn’t show up when refresh it means the script worked, and if your IDs are correct, you can go to google analytics for example in the real-time traffic to see if you’ve been registered.
The tutorials are coming
Yes, on your privacy page you have to tell what service you are using to track stuff yes.
Thanks Terry ! It’s something I want to add in the future but I found those things to get in the way of the user most of the time so it will probably be an addition for later. And the button to opt-out would not stop the scripts right away, to work the user would have to opt-out and reload the page.