/Documentation

Custom Loader power-up

Updated Jul 24, 2026

How to set up Custom Loader

Stape account
sGTM containers
Custom Loader
Save changes

Testing

  1. 1.
  2. 2.
  3. 3.
  4. 4.
With a loader example

Note:

How to use Custom Loader with GTM Environments

Get your environment parameters.
Get your environment parameters.
Get your environment parameters.
Add the environment parameters to the head snippet.
E.src=f+"/"+i+".js?"+c+v+"&gtm_auth=XXXX&gtm_preview=env-N&gtm_cookies_win=x"
Add the environment parameters to the body snippet.
<noscript><iframe src="https://your-subdomain.stape.work/ns.html?id=GTM-XXXXXX&gtm_auth=XXXX&gtm_preview=env-N&gtm_cookies_win=x" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

Use case

  1. 1.
  2. 2.
  3. 3.

Was this article helpful?

Comments

Can’t find what you are looking for?