Tracking

Cloudflare Zaraz and first-party tracking.

First-party tracking at the edge keeps the page fast and the numbers closer to reality on Safari—without a pile of third-party scripts blocking the first paint.

How: we use Cloudflare Zaraz and tailored tag containers on client sites. We explain the idea here; container exports, triggers, and server paths are configured per site and stay private.

Tracking diagram: visitor to Cloudflare Zaraz and GTM at the edge, then to ad and analytics platforms.
Tags at the edge, lean in the browser.

One tag path, not a pile of scripts.

Ordinary installs load third-party JavaScript on every page. The visitor waits while analytics, ads, and heatmap vendors each fetch their files. Browsers block or shorten that data anyway, and the ad platform never sees the conversion you paid to learn from. Our approach loads tags through Cloudflare Zaraz at the edge, then through custom GTM containers we control. The browser keeps one lean first-party path; the heavy work happens before the HTML reaches the phone.

That is a real speed advantage. Search and ads both punish slow pages. When measurement no longer blocks the first paint, you get accurate numbers and a page that still feels instant—especially on mobile and on Safari, where every extra script hurts twice.

The stack is not a plugin you toggle on. It is wired during implementation, checked against forms and phone numbers, and kept in the same month as marketing so search terms and conversion counts refer to the same week.

  • Cloudflare Zaraz as the edge tag gateway—tags fire at the edge, not as a stack of third-party downloads in the browser
  • Custom Google Tag Manager containers and triggers, not a generic import
  • First-party and server-side paths for events Safari would otherwise drop
  • Faster first paint because the page is not waiting on a dozen vendor scripts to load
  • Cross-checks with ad platforms and CRM or form records
  • Documentation of what fires, where, and which URL it belongs to

Why we built it.

Client sites need numbers that survive Apple’s privacy defaults and still reconcile with Google Ads and Meta. Off-the-shelf analytics often under-count while dashboards look fine. We use this stack on our own properties and on retained builds, tuned until the lead count in the report is close to the lead count in the inbox.

That accuracy is what makes the weekly search-term review honest: cut waste when the pixel proves the click never converted, not when a tool guesses.

Why we document what fires: you should know which events exist—not every vendor snippet we trimmed to get there.

Questions on tracking

Do you replace Google Analytics?

We may still send data to GA4 or ads platforms. Zaraz and GTM decide how events leave the browser. The goal is one coherent pipeline, not three conflicting ones.

Does this bypass privacy laws?

No. It respects consent and platform rules. The point is to recover measurement browsers block from sloppy tag installs, not to track people who opted out.

Can the AI Assistant use these numbers?

Yes. That is the intended pairing: the assistant summarizes what this stack already proved.

Does edge tracking make the site faster?

Yes. A typical GTM install asks the browser to download and run many third-party files before the page feels done. Zaraz moves that work to the edge, so visitors are not waiting on a chain of vendor scripts just to load your offer.