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 first 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 the 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.
Google Tag Manager request URL should look like this:
Tagging server URL/stape container identifier.js?st=web GTM ID without letters GTM.
In my case, it's https://load.gtm.stape.dog/covxbvwx.js?st=PMVQSJH
GA4 request URL should look like this:
Tagging server URL/gt+stape container identifier.js?id=GA4 identifier.....
In my case, it's https://load.gtm.stape.dog/gtcovxbvwx.js?id=G-0SME9XLYER
1. Sets 1st party cookies.
2. Prolongs cookie lifetime.
3. Makes GTM and GA4 resistant to AdBlockers and ITPs.
4. Keeps your data tracking intact.
You’ve probably noticed that data about your website users and conversions collected by different analytics tools might vary. Most of the time, you’ll see that the purchase number in Google Analytics is lower than in your CRM. Where this data discrepancy comes from, why is it happening, and how to fix it?
Hosting your server Google Tag Manager on Stape is the best way to set up server-side tagging. Here's why...
Wondering what server-side tagging is and how it works? This blog post will explore all that and more!