The Custom Loader power-up minimizes the impact of ad blockers on your GTM and GA4 scripts by routing them through a path that turns all cookies into first-party cookies.
Custom Loader is available on the Free subscription plan and higher. To check your current plan or upgrade, go to your sGTM container settings.
1. Log in to your Stape account and select your sGTM container from the dashboard.

2. Go to Power-ups and click Use next to the Custom Loader panel.

3. Toggle the Custom Loader switch to enable it and click Save changes.

4. In the Code & Setup information section, configure the following settings:
- Domain - select one of the domains linked to your container.
- Web GTM ID - enter your web Google Tag Manager ID.
- Enhanced ad blocker protection - when enabled, all requests to your sGTM server are encrypted so ad blockers can’t block them based on request patterns. Learn more about the enhanced ad blocker protection.
- Same Origin Path - if you use the same-origin approach, enter the path here so both GTM and gtag.js load through it.
- Platform - here you can either:
To verify the setup is working:

| Note: With Custom Loader and enhanced ad blocker protection enabled, GA4 request URLs will appear encrypted. |
A sample scenario is an eCommerce store that sees significant data loss because a large share of its users have ad blockers installed. By enabling Custom Loader, all GTM and GA4 scripts load from a first-party domain, so ad blockers no longer recognize and block them.
You can spot the data loss this way:
If the gap persists after enabling Custom Loader, turn on the Enhanced ad blocker protection as well. This encrypts the request URLs so that blocking rules can't match them.
Discover Stape's sGTM hosting advantages: power-ups for ad blocker bypass & data enrichment, auto-connect custom domains, autoscaling, API, and more.
Wondering what server-side tagging is and how it works? This blog post will explore all that and more!