Cloudflare Zaraz vs Google Tag Manager
Both load Google Analytics and ad pixels (small tracking scripts from Meta or LinkedIn) on your website. Zaraz, made by Cloudflare, runs these tools on Cloudflare’s servers instead of in your visitors’ browsers. Your site loads less outside code, and no tool starts before someone agrees in the cookie banner.
Tag Manager loads tools in the browser, Zaraz on Cloudflare
For a website with Google Analytics, Google Ads, the Meta Pixel and LinkedIn, Zaraz fits. Tag Manager fits better if your team sets up new tracking on its own every day.
Google Tag Manager
Your visitors’ browser first loads the Tag Manager script (the container) and then every tool in it, straight from each vendor. Every tool brings its own code and receives the full IP address.
Cloudflare Zarazmy pick
The browser loads a small script from your domain. Cloudflare runs Google Analytics and the Meta Pixel on its servers and only passes on what you allow. This is called server-side tracking.
Zaraz and Google Tag Manager point by point
Each row marks who leads. For Google Tag Manager I assume the free version.
| Question | Google Tag Manager | Cloudflare Zaraz |
|---|---|---|
| Where do the tools run? | In your visitors’ browsers | On Cloudflare, custom HTML still in the browser |
| Where does the browser load code from? | From Google and from every vendor | From your own domain |
| Cookie banner | Not included, you need an extra banner such as Cookiebot | Built in, with categories and multiple languages |
| What starts before consent? | The container, and in advanced Consent Mode the Google tags too | Only the Zaraz script and banner, no tool with a category |
| Google Consent Mode v2 | Through your banner provider | Built in, for Google Analytics and Google Ads |
| What Google and Meta see | Full IP address and complete URL | IP address trimmed, URL parameters removed, if you turn that on |
| Server-side tracking | Your own tagging server in Google Cloud | Built in, Cloudflare is the server |
| Running costs | Free, tagging server from about $90 a month | One million events a month free, then $5 per million |
| Ready-made templates | Large community template gallery | 32 integrations, plus custom HTML |
| Preview and versions | Preview with Tag Assistant, workspaces, permissions per person | Debug mode, preview, version history |
| Events in Google Analytics | Enhanced measurement automatically: scrolls, downloads, outbound links | Page view, session and first visit, everything else as a custom event |
What you gain with Zaraz
These four things change for your visitors and for data protection.
Your site loads less third-party code
Instead of 293 KB of JavaScript from Google and Meta, the browser loads a single 9 KB script. Your visitors’ phones have far less to download.
Google and Meta learn less
If you want, Zaraz trims the IP address and strips extras from the address (URL parameters) before data goes to Google or Meta. That way no email address from a link ends up at Google.
No extra tool for the cookie banner
Zaraz comes with its own banner with categories. I style it in your colors and fonts.
Open the banner designerServer-side tracking without your own server
With Tag Manager you need your own server in Google Cloud for this. Google recommends at least two of them at about $45 a month each. With Zaraz, Cloudflare is the server.
When Tag Manager stays the better choice
Zaraz doesn’t always fit. In these three cases I’ll advise against it myself.
Many tools without an integration
Zaraz knows 32 tools. Hotjar, Microsoft Clarity or a testing tool run there as custom HTML, back in the browser. The more of those, the smaller the advantage.
A team that builds tags every day
Tag Manager offers more for teams. It has a preview with Tag Assistant, separate workspaces and permissions per person.
Your domain can’t run through Cloudflare
Zaraz needs a domain or subdomain that runs through Cloudflare. If your IT doesn’t allow that, Tag Manager stays the simpler option.
How your tracking moves to Zaraz
Your Google Tag Manager stays live until every event arrives in Zaraz. You don’t lose any data along the way.
- 01Read out the containerI export your GTM container and list every tag with its trigger, variables and category in the cookie banner.
- 02Add your domain to CloudflareYour domain then runs through Cloudflare. I carry over your email settings so your email keeps arriving, and agree on the date with your IT.
- 03Rebuild the tags in ZarazEvery tag becomes a Zaraz tool with a fixed category in the cookie banner. I set up custom events such as forms or downloads from scratch.
- 04Switch over and compareOnly once every event arrives do I remove the old Tag Manager. Then we put the before and after numbers side by side.
Price after the intro call
Cloudflare includes one million Zaraz events a month for free. You get the price for the move in writing.
Server-side tracking set up for youQuestions about moving from Tag Manager to Zaraz
Yes, Zaraz only works on domains or subdomains that run through Cloudflare. In my projects I move the domain settings (DNS) to Cloudflare and carry over your email settings. This works with every Cloudflare plan, including the free one.
Yes. Zaraz has ready-made integrations for Google Ads, Google Analytics 4, the Meta Pixel and LinkedIn Insight. For Meta I add an access key for the Conversions API, Meta’s interface for data sent from a server, so events go straight from Cloudflare to Meta. Browser extensions such as Meta Pixel Helper no longer see these events; the Zaraz debugger shows them.
A Zaraz event is a page view or a custom event such as a click. One million events a month are free, each additional million costs $5 (Cloudflare, April 16, 2026). For server-side tracking, Google Tag Manager needs its own server. Google recommends at least two of them at about $45 a month each (Google, May 12, 2026). Prices excluding tax.
Zaraz gives you the tools for it. Tools only start after consent, IP addresses can be trimmed, and Cloudflare offers a data processing agreement. Whether your setup is legally sound is something to settle with your data protection adviser.
