Stape/Documentation

Step 3. [Optional] Set up Custom Loader

Updated Mar 27, 2025

Custom Loader modifies gtag.js and gtm.js loading paths to resist ad blockers and ITPs, potentially increasing data volume by up to 40%.

1. Find and copy your WEB GTM ID in GTM. To find GTM ID log in to your Google Tag Manager account and open a Web GTM container. In the top right corner (next to the Submit and Preview buttons) you’ll see some short text that starts with "GTM-" and then contains some letters/numbers.

2. Open your sGTM container on Stape →  Click Power-Ups. Find Custom Loader and click Use.

3. Add the following settings: 

  • Select the domain from the dropdown. Select the custom domain if you configured a custom domain for your sGTM container. Otherwise, select the default one.
  • Add the web GTM ID that you copied on the first step.  
  • GA4 ad block bypass - enables bypassing adblockers' impact on the GA4 tracking code. Note that this setting will affect all container domains. Be sure to debug both the web and server GTM containers after enabling this toggle.
  • Select Shopify and on the right side, you will see the configuration settings of the Stape GTM server-side plugin for Shopify.
Can’t find what you are looking for?