Custom loader helps make Google Tag Manager and Google Analytics 4 scripts more resistant to ad blockers and ITPs by modifying gtag.js and gtm.js loading path.
Using a custom loader and custom domain helps set 1st party cookies, prolong cookie lifetime and make the web Google Tag Manager and Google Analytics script resistant to ad blocking apps and algorithms.
Custom loader power-up is available on any plan. To enable it, all you need to do is log in to your stape.io account, open container power-ups and add a WEB GTM ID. Once done, you will see the modified Google Tag Manager and GA4 requests in console.
1. Log in to you stape.io account
2. Open sGTM container -> Click Power Up.
3. Click Config Custom loader power-up -> add your WEB GTM ID -> You will see updated web GTM code -> Copy this web GTM script and add or replace existing web GTM script on your site.
4. Once you've updated web GTM code and set up ss GA4, you can check modified GTM and GA4 requests in network.
1. Sets 1st party cookies.
2. Prolongs cookie lifetime.
3. Makes GTM and GA4 resistant to AdBlockers and ITP's.
4. Keeps your data tracking intact.
1. Benefits of stape.io hosting.
2. How to track users with adBlockers.
3. Set up custom domain for Server GTM.
Find out how to use server-side tracking with Google Tag Manager and avoid being blocked by AdBlocker.Edited Feb 23, 2024
Hosting your server Google Tag Manager on stape is the best way to set up server-side tagging. Here's why...