Changing name and path of a gym.js file

Hi, I’m looking to change filename and path (from subdomain to local) of gtm.js file. Have anyone had luck with this guide: A new way to set up a custom domain in server GTM - Stape

I triple checked everything, and my worker doesn’t change the file path.

I also wonder if there are any other methods to bypass adblocks.

To bypass adblockers you can simply use custom loader power-up:

The article you linked (same origin), as well as using ‘own CDN’ for sGTM, don’t really help with adblockers - they are needed to bypass ITP cookie restrictions. Here is more about ITP bypass options:

Thanks. I suppose there are currently no advanced techniques to bypass adblocks?

Hi @Artur you can use Custom loader to bypass adblockers keep it KISS

1 Like