Cloudflare Zaraz

Cloudflare Zaraz

Cloudflare Zaraz is a third-party script manager that runs marketing and analytics tags server-side through Cloudflare's edge network. Scripts are proxied rather than loaded directly from third-party domains, reducing client-side tracking exposure and improving page load performance.

Overview

Cloudflare Zaraz is a server-side tag management platform that fundamentally changes how third-party marketing and analytics scripts execute on websites. Instead of loading third-party JavaScript directly in the visitor's browser, Zaraz intercepts tag requests at Cloudflare's edge and executes them server-side, proxying only the necessary data to the third-party vendor. This architecture reduces the number of client-side scripts, improves page load performance, and limits direct third-party access to visitor browsers.

What This Script Does

Zaraz replaces traditional client-side tag managers (like Google Tag Manager) with an edge-computed approach.

  • Script loaded: A single lightweight Zaraz loader script from the site's own domain (proxied through Cloudflare) replaces multiple third-party scripts. This loader captures page events and sends them to Cloudflare's edge.
  • Edge processing: When a page event occurs (page view, click, form submission), the Zaraz loader sends the event data to Cloudflare's edge network. At the edge, Zaraz evaluates trigger rules and executes the configured third-party tags server-side — sending the appropriate data to Google Analytics, Meta Pixel, HubSpot, or any other configured vendor.
  • Cookie management: Zaraz can manage first-party cookies on behalf of configured vendors (e.g., creating a _ga-equivalent cookie for Google Analytics). Cookie behavior is controlled through Zaraz's configuration rather than by third-party scripts running in the browser.
  • Consent integration: Zaraz includes built-in consent management that controls which tags fire based on the visitor's consent state. Tags can be assigned to consent categories, and Zaraz blocks their execution until the appropriate consent is granted.
  • Data collected: Page URL, referrer, browser user agent, page events, and any custom data layer variables configured by the site operator. This data is processed at Cloudflare's edge and selectively forwarded to configured vendors.
  • Reduced third-party exposure: Because vendor scripts do not load directly in the browser, third-party vendors cannot access the visitor's cookies, DOM, or other browser APIs beyond what Zaraz explicitly provides.

Consent & Compliance

Cloudflare Zaraz falls under the functional consent category as tag management infrastructure.

Under GDPR and ePrivacy, Zaraz itself is a tag management tool — its compliance profile depends on which third-party tags it executes. The Zaraz loader script and edge processing are functional infrastructure. However, the tags it manages (analytics, marketing) retain their original consent requirements. Zaraz's architectural advantage is that it prevents third-party scripts from directly accessing the browser, reducing the cookie and tracking surface. The built-in consent management ensures tags only fire when appropriate consent is granted.

Under CCPA/CPRA, Zaraz's role as an intermediary means the data it forwards to third-party vendors inherits those vendors' CCPA obligations. The site operator must configure Zaraz to respect opt-out signals (Do Not Sell/Share) for marketing tags.

Should You Block This Without Consent?

No. Zaraz itself is functional infrastructure — a tag management layer that controls how other scripts execute. Blocking Zaraz would prevent all managed tags from functioning, including those with consent. The correct approach is to use Zaraz's built-in consent management to control individual tags based on visitor consent preferences, allowing the Zaraz loader to run unconditionally while gating each downstream vendor tag on the appropriate consent category.

Is Cloudflare Zaraz GDPR compliant?

Cloudflare Zaraz typically loads functional trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So Cloudflare Zaraz can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads Cloudflare Zaraz, not on Cloudflare Zaraz itself.

Visit website

Consent Categories

Also Known As

cloudflare zarazzaraz tag managerserver side tag managementzaraz privacycloudflare script managerzaraz consent

Industries

Computer SecurityComputers Electronics and Technology

Tracked Domains (1)

zaraz.cloudflare.comFunctional

zaraz.cloudflare.com is a functional domain operated by Cloudflare Zaraz, used to run site features like chat, video, embeds, and preferences.

Frequently Asked Questions

Other Cloudflare Products

Related Vendors

BigID
BigID
BigID is an enterprise data intelligence platform for privacy, security, and compliance management. It operates as backend SaaS with no scripts loading in end-user browsers or on customer-facing websites. No direct browser presence for site visitors.
Cloudflare Web Analytics
Cloudflare Web Analytics
Cloudflare Web Analytics is a privacy-focused web analytics service. Scripts track page views and Core Web Vitals performance metrics without setting cookies or collecting personally identifiable information. Data is aggregated at the edge and does not build individual visitor profiles.
Instagram Feed
Instagram Feed
Instagram Feed embeds allow websites to display Instagram posts and media galleries. Scripts load Meta's Instagram embed code, set tracking cookies, and send interaction data to Meta. Visitor browser data may be shared with Meta on page load regardless of whether visitors interact with the content.
YouTube Player
YouTube Player
YouTube Player embeds YouTube videos on external websites via iframe. Scripts load from Google's servers and set cookies for video playback preferences, watch history, and ad targeting. Cookies are dropped even when visitors only view the embed without interacting with the player.
Facebook Login
Facebook Login
Facebook Login is a Meta OAuth authentication service that allows users to sign in to third-party websites using their Facebook account. Scripts load the Meta SDK, set cross-site session cookies for authentication, and may share login activity data with Meta.
WhatsApp Business
WhatsApp Business
WhatsApp Business chat widget embeds a messaging interface on websites connecting visitors to a business WhatsApp account for customer support. Scripts render the chat button and manage session state. Visitor messages and metadata are processed through Meta's WhatsApp Business platform.

Manage consent for Cloudflare Zaraz

ConsentStack automatically detects and manages Cloudflare Zaraz trackers so your site stays compliant with global privacy regulations.