{"id":47690,"date":"2023-10-16T17:27:39","date_gmt":"2023-10-16T16:27:39","guid":{"rendered":"https:\/\/www.glassmountains.co.uk\/?p=47690"},"modified":"2023-10-16T17:27:39","modified_gmt":"2023-10-16T16:27:39","slug":"cloudflare-zaraz-consent-management","status":"publish","type":"post","link":"https:\/\/www.glassmountains.co.uk\/campfire\/cloudflare-zaraz-consent-management\/","title":{"rendered":"Cloudflare Zaraz Consent Management"},"content":{"rendered":"

What is Cloudflare Zaraz?<\/span><\/h2>\n

Cloudflare Zaraz<\/a> helps you use and manage different tools and services (like Google Analytics and Facebook Pixel) for your website by moving them to Cloudflare\u2019s system. This means your website can be safer and faster! You can use tools for marketing, chatting on the web, automation, and more, all thanks to Cloudflare.<\/p>\n

Zaraz also now offers consent management which we will discuss in more detail below.\u00a0<\/span><\/p>\n

Is It Free?<\/span><\/h3>\n

Yes, Cloudflare Zaraz can be free! If you use fewer than 100,000 Zaraz Loads each month for each account, you don\u2019t have to pay anything. But if you use more than that, it won\u2019t work for the rest of the month. The free version has all the 3rd party libraries and lets you use unlimited tools. So, if your website isn\u2019t super busy yet, you might not need a premium account.<\/span><\/p>\n

How Does It Compare?<\/span><\/h2>\n

Zaraz vs. Google Tag Manager<\/span><\/h3>\n

\"Image<\/p>\n

Cloudflare Zaraz does some of the same things that Google Tag Manager (GTM) does. It works for basic scripts like Facebook, LinkedIn Pixels, chatbots, and AB testing tools. You can even use it for Google Analytics on your website.\u00a0<\/span><\/p>\n

 <\/p>\n

But remember, it\u2019s usually best to pick either Zaraz or GTM, not both, to avoid slowing down your website. Zaraz runs server-side and the default Google Tag Manager setup works client-side which can have a negative impact on performance.<\/span><\/p>\n

We have previously covered <\/span>Cloudflare Zaraz functionality for serving 3rd party scripts.\u00a0<\/span><\/a><\/p>\n

<\/h3>\n

<\/h3>\n

Zaraz and Google Analytics 4<\/span><\/h3>\n

Google Analytics 4 offers a range of predefined events which form a part of its enhanced measurements. Those are events such as video play, document download, external link clicks, scroll. If you install GA4 code on your website using a plugin, adding it directly to your code or via Google Tag Manager, it would automatically track all those events for you without having to set up specific triggers.<\/span><\/p>\n

<\/h2>\n

Cloudflare Zaraz does not support enhanced measurement. What that means is by simply installing Google Analytics 4 with Zaraz you will only track pageviews, session start and first visit events. All other enhanced measurement events will not be available, even if you enabled them in Google Analytics 4 settings.<\/span><\/p>\n

<\/h2>\n

To solve this problem, you will need to create separate events in Zaraz with the correct triggers – for example, a user scrolls down a page or a user clicks on a link. Zaraz offers <\/span>a list of all supported triggers.<\/span><\/a><\/p>\n

<\/h2>\n

Zaraz Keeps Growing<\/span><\/h3>\n

Zaraz keeps adding new integrations. If the tool you want isn’t available yet, check back later or ask for it on their forum. Other users are also there, requesting new integrations!<\/span><\/p>\n

Managing Consent with Zaraz<\/span><\/h3>\n

Zaraz lets you show a popup to users to ask if they\u2019re okay with 3rd party tracking. You can change the language and options on the popup and use HTML to add text or a link to your Privacy Policy. You can even change the name of the cookie where preferences are stored. The default name is <\/span>cf_consent<\/b>.<\/span><\/p>\n

<\/h2>\n

Cookie Purposes in Zaraz<\/span><\/h3>\n

You can create different purposes for tracking with Zaraz, like \u201ctracking,\u201d \u201ctargeting,\u201d or \u201cfunctional.\u201d Once you set them up, they\u2019ll show in your cookie popup, and visitors can pick which types they\u2019re okay with.<\/span><\/p>\n

\"Blue,<\/p>\n

Assigning Tools to Purposes<\/span><\/h3>\n

You\u2019ll need to link the tools you’ve set up in Zaraz to a specific cookie purpose. This lets users accept or reject groups of tools, which saves them time. For example, you can assign Google Analytics and Facebook Pixel to marketing tools.\u00a0<\/span><\/p>\n

Customize Your Cookie Popup<\/span><\/h3>\n

You can make the Zaraz cookie popup look like your own by using custom CSS code. This helps it match your website\u2019s style better so it doesn\u2019t make your cookie popup stand out as much.\u00a0<\/span><\/p>\n

\"A<\/p>\n

Popup Button Choices<\/span><\/h3>\n

Users will see three buttons:<\/span><\/p>\n