Skip to content
Tracking and technical

What is an ad blocker and how does it affect analytics?

3 min read · Updated · By the Reveata team

Short answerAn ad blocker is a browser extension, browser feature or network filter that stops ads and often tracking scripts from loading, which means analytics tools can miss visits from people who use one.

Persons left hand on gray surface
Photo by Anna Rafal on Unsplash

Ad blockers work from filter lists: long, community-maintained lists of addresses and patterns known to serve ads or trackers. When a page asks for something on the list, the blocker cancels the request. Many lists include analytics services, so the analytics script never loads, or its events never leave the browser.

Where blocking happens

Where Examples What it blocks
Browser extension uBlock Origin, AdGuard Requests matching filter lists
Built into the browser Brave, some privacy modes Known trackers by default
Network-wide Pi-hole, DNS filtering services Whole domains for every device

Blockers usually match on the domain a script loads from and on words in the path, such as analytics, tracking or collect.

What it does to your numbers

Visitors who block your analytics are not counted at all. Their visit, the source that brought them and any purchase they make arrive without a matching session. The effect is uneven: technical audiences tend to block more than general consumers, so a developer tool may lose a larger share than a recipe site. There is no single figure that applies to your site.

Payments are different. If your payment provider reports a sale to your analytics tool from its servers, the sale is still counted even when the buyer's browser blocked the script. It just cannot be credited to a source.

How Reveata reduces the gap

  • A managed proxy. Add one DNS record and the script and its events go through a subdomain of your own site, such as stats.example.com. To the browser it is part of your site, so fewer visits go missing. Reveata suggests avoiding words like analytics or tracking in the subdomain (Managed proxy).
  • Your own proxy. Pass the script and events through Next.js, Nginx, Cloudflare Workers and other servers you run (Proxy through your own server). See first-party proxy.
  • Server-side payments. Connected payment providers send revenue from their side, so totals agree with your provider even when a buyer blocked the script.

A proxy does not change what is collected. The same script runs and sends the same data; only the address changes.

Respecting people who opt out

Many people use blockers for speed and fewer ads, not to hide from all measurement. Some explicitly do not want to be tracked. If you want to honour browser privacy signals, Reveata can skip browsers that send Do Not Track or Global Privacy Control with data-respect-dnt="true" (Install the script). See Do Not Track and Global Privacy Control.

How to check whether a blocker is the problem

Open your site with the browser's developer tools on the Network tab. If the request for the script is shown as blocked or cancelled, a blocker stopped it. Try another browser, or turn the blocker off for your site (Why events don't show up).

Frequently asked questions

Is using a proxy to avoid ad blockers allowed?

Serving a script from your own domain is a normal technical setup, and privacy law applies to what you collect, not to the address it is sent through. Your obligations to inform visitors and, where required, ask for consent stay the same. This is not legal advice.

Will a proxy recover every blocked visit?

No. Some blockers also match script patterns or block by behaviour, and some people disable JavaScript. A proxy makes blocking less likely, not impossible.

Do ad blockers affect cookieless analytics too?

Yes. Blockers stop the request whatever it stores, so cookieless mode does not help here. The proxy is what helps.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
GlossaryWhat is a first-party analytics proxy?A first-party analytics proxy routes the analytics script and the events it sends through an address on your own domain, such as stats.example.com or /dt/event, so the browser sees them as part of your site instead of a request to another company.GlossaryWhat is a tracking script?A tracking script is a small JavaScript file you add to every page of a website, which runs in each visitor's browser and sends page views, clicks and other actions to an analytics service.GlossaryWhat is server-side tracking?Server-side tracking means your backend, not the visitor's browser, sends events such as sign-ups, payments or page requests to your analytics tool, so they are recorded even when a script is blocked or never runs.GlossaryWhat are Core Web Vitals?Core Web Vitals are three measurements Google uses to describe a page's real-world user experience, namely Largest Contentful Paint (loading), Interaction to Next Paint (responsiveness) and Cumulative Layout Shift (visual stability).GlossaryWhat are event properties?Event properties are key–value details attached to an analytics event, such as the plan chosen or the button clicked on a signup event, so you can break one event down by those details instead of creating a separate event for every variation.GlossaryWhat is a canonical URL?A canonical URL is the one preferred address you want search engines to index and show for a page whose content is reachable at several URLs, usually declared with a rel="canonical" link in the page's head.