
Cloudflare vs Google Analytics for a Church Website
What Cloudflare and Google say their analytics collect, how long Google keeps user-level data, and the steps to add Cloudflare Web Analytics, read Nov 9, 2026.
On this page
A stone church with a pointed steeple stands in a green churchyard among gravestones, with pink flowers in the foreground and a hill behind. Credit: St. John the Baptist's church, Chelmorton, photograph by Jonathan Billinger, 3 September 2008. Licensed under Creative Commons Attribution-Share Alike 2.0 Generic (https://creativecommons.org/licenses/by-sa/2.0). Converted to WebP for web; no other changes.
Vendor documentation, read Nov 9, 2026 ET. How vendor documentation is read here
TL;DR: Cloudflare's docs call Web Analytics free and privacy-first, set up with a JavaScript snippet, and say it does not collect or use visitors' personal data. Google's help pages say Google Analytics collects users, sessions, approximate location, and browser and device information, and keeps a client ID in a first-party cookie called _ga. Google says user-level data can be kept for 2 or 14 months. We found no price for Google Analytics on those pages, so we do not call it free or paid, and we measured no traffic on either tool.
What do Cloudflare Web Analytics and Google Analytics say they collect?
Cloudflare, in docs last updated Apr 17, 2026, says Web Analytics provides "free, privacy-first analytics for your website without changing your DNS or using Cloudflare's proxy." To turn it on, it says, you need only a Cloudflare account plus a JavaScript snippet added to your page. The snippet collects metrics using the Performance API, it shows page views and visitors, and it is real user monitoring. The docs say it "does not collect or use your visitors' personal data," and the overview says it is available on all plans.
Google's help page on data collection lists the default data points: number of users, session statistics, approximate geolocation, and browser and device information. It says the tool keeps a client ID in a first-party cookie called _ga, which lets it tell users and their sessions apart. It adds that the client ID is not stored when analytics storage is deactivated through Consent Mode.
Key takeaways
- Cloudflare says Web Analytics needs a JavaScript snippet and shows page views and visitors.
- Google Analytics lists four default data points and stores a client ID in a cookie named _ga.
- Google lets user-level data be kept for 2 or 14 months, and says this does not affect standard aggregated reports.
- Neither set of pages we read gives a Google Analytics price or compares the two tools' numbers.

Counts of the items each vendor's own pages list. No traffic numbers from either tool are shown.

Cloudflare's own description of Web Analytics as captured Nov 9, 2026, 11:02 PM ET. The page's update date is cropped out and is given in the text. Credit: Screenshot of Cloudflare Docs, Web Analytics "About", Nov 9, 2026, 11:02 PM ET.
How is Cloudflare Web Analytics set up?
For a site that does not run through Cloudflare, Cloudflare's get-started page gives these steps. In the dashboard go to Web Analytics and select Add a site, write the hostname, then copy the JavaScript snippet from Manage site. Place it in any of your site's HTML pages, ahead of the closing body tag. Cloudflare says it may take a few minutes for data to appear. Sites that run through Cloudflare and Pages projects have their own steps, which we did not read.
How long does Google Analytics keep data?
Google's retention page says user-level data retention for Google Analytics properties can be set to 2 months or 14 months, and the same applies to key events data. It says age, gender and interest data are always held to the two-month period, and that the setting does not affect standard aggregated reports. Longer settings of 26, 38 and 50 months are marked as for 360 only. The page does not say which setting a new property starts with, so we do not either.
What is the catch with each?
- Cloudflare Web Analytics: it needs a snippet added to your pages, and we read only the steps for sites that are not proxied through Cloudflare.
- Google Analytics: it stores a client ID in a cookie, and the pages we read give no price and no default retention setting.
- Both: we installed neither and compared no numbers, so we cannot say how their counts differ.
What did we not check?
- The price of Google Analytics. None of the pages we read states one.
- How the two tools' numbers differ. We measured nothing.
- Steps for sites proxied through Cloudflare or hosted on Pages, and Cloudflare's limits page.
- Which tool a particular church site already runs.
- Any change to these pages after Nov 9, 2026. Google's pages show no date.
FAQ
Is Cloudflare Web Analytics free?
Cloudflare's docs call it free, as of the page updated Apr 17, 2026.
Does Google Analytics use cookies?
Google's help page says the client ID is kept in a first-party cookie called _ga.
How do I add Cloudflare Web Analytics to a church website?
Add the site in the Web Analytics dashboard, copy the JavaScript snippet from Manage site and paste it ahead of the closing body tag on your pages.
Which one should a church use?
The pages we read do not compare the two, so we make no pick.
Keep reading
- SEO for a church website: search basics for a church site
- Your church on Google Maps and Search: the listing people find first
- Outdated church website redesign: when traffic points to a redesign
- Church website design best practices: design choices that affect visits
- Church website builders compared: the builders behind the sites
Sources, read Nov 9, 2026 ET: Cloudflare Developers, Web Analytics: About and Get started; Google Analytics Help, data collection and data retention.
Last checked: Nov 9, 2026 ET. Vendor docs change, so reread the pages before you add a snippet.