Stape/Documentation

Avoid the impact of ad blockers on tracking

Updated Apr 11, 2025

Ad blockers and browser privacy features often block or rewrite the standard gtm.js and gtag.js files that power Google Tag Manager (GTM) and Google Analytics 4 (GA4). When that happens, page view hits, conversions, and remarketing audiences can vanish from your reports.

As you can imagine, preventing ad blocking is crucial if you need clean, untampered data. Stape’s Custom Loader power‑up disguises those scripts, letting them load even when blockers are active.

Benefits of ad blocking prevention

  • Full‑funnel visibility - capture every page view and event so you can trust conversion rates and funnel drop‑off numbers.
  • Accurate remarketing lists - blocked scripts mean users aren’t added to remarketing lists, shrinking your available audience for retargeting. With ad blocking prevention, your remarketing audiences stay complete and accurate, leading to better performance.
  • Cleaner A/B‑test data -  ensure experiment tools receive complete traffic, avoiding biased data or inconclusive results.
  • Regulation‑friendly tracking - all cookies are viewed as a first‑party, helping you meet privacy rules while still collecting data.

How to prevent ad blocking

To bypass ad blocking and negate the problems it brings for your analytics, simply enable Stape’s Custom Loader power-up. Follow this comprehensive guide on setting up, using, and testing Custom Loader.

Can’t find what you are looking for?