Blog
Server-Side Analytics: The Free Fix for Ad Blocker Blindness
April 22, 2026 · 9 min read
Between 35% and 42% of web users run ad blockers. Every one of them is invisible to your Google Analytics, your Meta Pixel, your Hotjar, and every other client-side analytics tool you rely on. You are making marketing decisions based on data that is missing a third of your audience.
Cloudflare Zaraz fixes this. It is a server-side tag manager built into Cloudflare's free tier that moves your analytics scripts from the browser — where ad blockers can kill them — to Cloudflare's edge network, where they run before the response even reaches the user's browser. The ad blocker never sees them because they are never in the browser.
After migrating all 52 sites in our network to Zaraz, our tracked traffic increased by an average of 31%. Not because we got more visitors. Because we stopped losing a third of them to ad blockers.
How Client-Side Analytics Fail
Traditional analytics — the Google Analytics gtag.js script, the Meta Pixel, the Hotjar tracking code — work by injecting JavaScript into the user's browser. When the page loads, the browser downloads and executes these scripts, which send tracking data back to the analytics provider.
Ad blockers work by maintaining lists of known tracking script URLs and blocking them. When a browser with uBlock Origin loads your page and tries to download googletagmanager.com/gtag/js, the ad blocker intercepts the request and blocks it. The script never loads. The analytics event never fires. That user does not exist in your data.
The result is not random noise — it is systematic bias. Ad blocker users skew toward technical, privacy-conscious demographics. They are often early adopters, higher income, and more likely to research purchases. The users you cannot see are often the users you most want to understand.
What Zaraz Does Differently
Cloudflare Zaraz takes a fundamentally different approach. Instead of injecting third-party JavaScript into the browser, Zaraz processes analytics events at the Cloudflare edge — the CDN layer that sits between your server and the user's browser.
When a user visits your page:
- The request hits Cloudflare's edge network (as it does for any Cloudflare-proxied site)
- Zaraz intercepts the page view event at the edge
- Zaraz sends the tracking data directly to Google Analytics, Meta, Hotjar, etc. from Cloudflare's servers
- The page is delivered to the user without any third-party tracking scripts
The user's browser never loads googletagmanager.com. The ad blocker has nothing to block. The analytics data is captured server-side before the page reaches the browser.
Setup Guide
Zaraz is free on every Cloudflare plan, including the free tier. If your site already uses Cloudflare (and if you followed the free hosting stack, it does), you can enable Zaraz in minutes.
Step 1: Open the Zaraz dashboard. In your Cloudflare dashboard, navigate to Zaraz > Tools. This is your server-side tag manager.
Step 2: Add Google Analytics 4. Click "Add New Tool" and select Google Analytics 4. Enter your GA4 Measurement ID (G-XXXXXXXXXX). Zaraz automatically configures the server-side pageview tracking.
Step 3: Configure events. By default, Zaraz sends a pageview event on every page load. You can add custom events (scroll depth, button clicks, form submissions) through the Zaraz interface or via a lightweight client-side helper script that is not on any ad blocker list.
Step 4: Remove client-side scripts. This is the step most people skip — and it matters. Once Zaraz is handling your analytics server-side, remove the gtag.js script from your HTML. Keeping both results in double-counting. Remove the client-side script and let Zaraz handle everything.
Step 5: Verify. Open your GA4 real-time report and visit your site. You should see the pageview registered even with an ad blocker enabled. Test with uBlock Origin, Brave's built-in blocker, and Firefox's Enhanced Tracking Protection.
Step 6: Add other tools. Zaraz supports dozens of tools: Meta Pixel, Hotjar, Segment, Mixpanel, Plausible, and more. Add each one through the Zaraz interface. Each tool's tracking data is processed server-side.
The Data Difference
Before and after Zaraz migration across our 52-site network:
| Metric | Before (client-side) | After (Zaraz) | Change |
|---|---|---|---|
| Tracked sessions/month | 42,100 | 55,200 | +31% |
| Bounce rate | 62% | 58% | -4pts |
| Pages/session | 2.1 | 2.4 | +14% |
| Avg session duration | 1:42 | 2:08 | +25% |
The bounce rate decrease and session duration increase are the most telling. The "missing" users — the ad blocker cohort — tend to be more engaged visitors. When they were invisible, the site averages were being pulled down by the bias of only seeing non-technical users. Once we could see the full audience, the engagement metrics improved because the hidden cohort was actually more engaged, not less.
This data shift changed several marketing decisions:
- Content strategy: Posts about technical topics showed higher engagement than our data previously indicated, shifting our editorial calendar
- Channel attribution: Direct traffic was undercounted by 40% — a significant portion of ad-blocker users were visiting via bookmarks and direct URL entry
- Conversion funnel: The funnel was wider at the top than we thought, which changed our investment in top-of-funnel content
Performance Benefits
Beyond the data accuracy improvement, Zaraz provides a performance benefit: your pages load faster because the browser is not downloading and executing multiple third-party scripts.
A typical analytics stack — GA4, Meta Pixel, Hotjar — adds 200-400KB of JavaScript and 3-8 network requests to every page load. Zaraz replaces all of this with a single, lightweight interaction at the edge. The browser downloads zero additional scripts.
On our network, Zaraz migration produced:
- Total Blocking Time (TBT) reduced by an average of 180ms
- First Contentful Paint (FCP) improved by 0.3-0.5 seconds on mobile
- Lighthouse Performance score increased 3-7 points on pages with heavy analytics stacks
These improvements come for free. You are not adding optimization — you are removing bloat. The performance gains are a side effect of moving tracking server-side.
Privacy Considerations
Server-side analytics raises legitimate privacy questions. If the user installed an ad blocker to prevent tracking, is it ethical to track them server-side?
The answer depends on what you are tracking and how you handle the data. Zaraz respects standard privacy signals:
- Global Privacy Control (GPC): Zaraz can be configured to respect GPC signals, disabling tracking for users who have enabled it
- Cookie consent: Zaraz integrates with consent management platforms and can withhold tracking until consent is granted
- Data minimization: Zaraz sends only the data fields you configure — you control exactly what goes to each analytics provider
The ethical line is: server-side analytics should capture aggregate behavioral data (pageviews, session duration, content engagement) while respecting explicit opt-out signals. If a user has set Global Privacy Control or declined a cookie consent banner, Zaraz should honor that. Cloudflare's configuration supports this.
What Zaraz should not be used for is circumventing explicit privacy choices. The tool's value is in capturing the passive data loss from ad blockers — the users who block tracking scripts by default but have not made an active privacy choice. For users who have actively opted out, honor their choice.
The $0 Cost
Zaraz is included in Cloudflare's free plan. There is no usage-based pricing, no pageview limits on the free tier for basic analytics, and no premium unlock for server-side GA4 processing. If your site is on Cloudflare — and the free hosting stack uses Cloudflare for DNS and CDN — you already have access.
This means the analytics accuracy improvement, the performance improvement, and the data bias correction are all free. Zero marginal cost. The only investment is the 30 minutes of setup time.
For small businesses operating on the $20/month marketing budget, this is the single highest-impact analytics upgrade available. You get better data, faster pages, and accurate audience insights without spending a dollar.
The complete Zaraz deployment guide — including event configuration, consent management setup, and the GA4 migration checklist — is in The $20 Dollar Agency by J.A. Watte. Chapter 15 covers analytics for small businesses. For deploying Zaraz across a multi-site network, see The $100 Network.