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.

Overview

Cloudflare Web Analytics is a privacy-oriented analytics service that measures website traffic and performance without using cookies or collecting personally identifiable information. It operates through a lightweight JavaScript beacon that reports page views and Core Web Vitals performance metrics (Largest Contentful Paint, First Input Delay, Cumulative Layout Shift) directly to Cloudflare's edge network. The service is designed as a privacy-first alternative to traditional analytics platforms that rely on cookies and unique visitor identification.

What This Script Does

The Cloudflare Web Analytics beacon loads as a small JavaScript snippet from Cloudflare's CDN.

  • Script loaded: static.cloudflareinsights.com/beacon.min.js — a lightweight beacon script (~5KB) that collects page performance and traffic data
  • No cookies set: Cloudflare Web Analytics does not set any cookies, use localStorage, or store any identifiers on the visitor's device. This is a core design principle, not a configuration option.
  • No unique identifiers: The service does not generate visitor IDs, session IDs, or browser fingerprints. All data is aggregated — there is no concept of a "unique visitor" in the traditional analytics sense.
  • Data collected per page view: Page URL, referrer, browser user agent (aggregated, not stored per-visitor), page load timing metrics (Core Web Vitals), country derived from IP address (IP is not stored), and HTTP response status code
  • Network request: A single POST request to cloudflareinsights.com transmits the page view data. The request payload contains no personally identifiable information.
  • Performance metrics: The beacon measures real user monitoring (RUM) data including LCP, FID/INP, CLS, TTFB, and page load time, providing Core Web Vitals reporting alongside traffic analytics.

Consent & Compliance

Cloudflare Web Analytics falls under the analytics consent category, though its privacy design simplifies compliance significantly.

Under GDPR and ePrivacy, Cloudflare Web Analytics presents an unusual case for an analytics tool. It sets no cookies and stores no information on the user's device, which means the ePrivacy Directive's cookie consent requirement does not apply. The beacon transmits only aggregated, non-identifying data. IP addresses are used for country-level geolocation but are not stored or logged. Several privacy-focused analyses have concluded that Cloudflare Web Analytics can operate without consent under the ePrivacy Directive because it does not access or store information on the user's terminal equipment. However, the GDPR's broader scope still applies to any processing of personal data (even IP addresses used transiently), and some strict interpretations may still require a legal basis.

Under CCPA/CPRA, the aggregated, non-identifying nature of the data collection means Cloudflare Web Analytics does not process personal information in a way that triggers CCPA obligations for "sale" or "sharing."

Should You Block This Without Consent?

Yes. Despite its privacy-first design, Cloudflare Web Analytics is classified as an analytics service and should be managed under analytics consent for consistency with the site's consent framework. From a strict regulatory perspective, the absence of cookies and unique identifiers means it could operate without consent under the ePrivacy Directive, and some organizations choose to load it without consent on that basis. However, ConsentStack classifies it as analytics, and the conservative approach is to respect that classification in your consent management.

Is Cloudflare Web Analytics GDPR compliant?

Cloudflare Web Analytics typically loads analytics 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 Web Analytics 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 Web Analytics, not on Cloudflare Web Analytics itself.

Visit website

Consent Categories

Also Known As

cloudflare web analyticscloudflare analytics privacycookie free analyticscloudflare rumprivacy focused analytics

Industries

Computer SecurityComputers Electronics and Technology

Tracked Domains (1)

static.cloudflareinsights.comAnalytics

static.cloudflareinsights.com is an analytics domain operated by Cloudflare Web Analytics, used to measure visits, sessions, and on-site behavior.

Frequently Asked Questions

Other Cloudflare Products

Related Vendors

Cloudflare Turnstile
Cloudflare Turnstile
Cloudflare Turnstile is a CAPTCHA alternative for bot detection and spam prevention. Scripts analyze browser behavioral signals, attributes, and interaction patterns to verify human visitors without requiring visual puzzle-solving challenges. Sets minimal functional tokens; does not build visitor profiles.
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.
Botify
Botify
Botify is an enterprise SEO platform for technical and content performance optimization. Scripts deployed on client sites measure page rendering performance, crawlability signals, and Core Web Vitals metrics. Cookies may be set to track session-level technical data for SEO audit and reporting purposes.
Oracle CX Unity
Oracle CX Unity
Oracle CX Unity is a customer data platform that unifies customer profiles across channels. Scripts collect behavioral signals, page interactions, and identity data to enrich unified customer profiles and enable cross-channel personalization and audience segmentation.
AgencyAnalytics
AgencyAnalytics
AgencyAnalytics is a reporting and dashboard platform for digital marketing agencies to consolidate client data and build performance reports. It operates as a SaaS tool with no direct script presence on third-party websites. No browser-side tracking or cookies are deployed to end-user sites.
Oracle Infinity Analytics
Oracle Infinity Analytics
Oracle Infinity Analytics is a web analytics and behavioral intelligence platform. Scripts capture detailed user interactions including page views, click sequences, scroll depth, and session replays. Cookies persist visitor identifiers across sessions for longitudinal behavior analysis.

Manage consent for Cloudflare Web Analytics

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