r/GoogleTagManager 27d ago

Question Custom Loader without Stape

For the main projects I use stape and also the custom loader. Now I'm in a project where the server side GTM is hosted on a Docker container is there any good solution for a custom loader like the stape?

7 Upvotes

11 comments sorted by

u/AutoModerator 27d ago

If this post doesn't follow the rules report it to the mods. Have more questions? Join our community Discord!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/_practical_data_ 27d ago edited 27d ago

If you want self-hosted - do it yourself (not so hard). You will need some kind reverse-proxy
If you want saas - DataUnlocker or any other ad bypass.

1

u/BookkeeperNo6601 23d ago

Do you have any suggests for me? So that is not detectable?

1

u/_practical_data_ 23d ago

I mean, the easiest way would be take stapes script which they use for encoding.
Write decoder yourself on whatever you use for hosting

1

u/Turbulent-Pilot-6298 23d ago

yeah, if sgtm is running on docker, a custom loader can be used without stape.. you can self-host a lightweight loader script to send gtm requests through a first-party domain or use a community based loader. the main point is to serve gtm.js or gtag from your own subdomain and make sure the requests reach the docker sgtm container correctly..

0

u/Fit-Bar5633 27d ago

If you already have your sGTM container running on your own Docker infrastructure, you can still implement a custom loader without Stape.

The main thing is that the loader needs to serve the GTM script from your own first-party domain and correctly route the requests to your server container.

The exact implementation depends on how your Docker setup is configured, but it’s definitely possible without Stape.

1

u/_practical_data_ 27d ago

Lol, you are such an idiot, dude...
This shit not depends on Docker at all, it depends on what he uses as reverse-proxy or web-server.

0

u/Fit-Bar5633 26d ago

You're right. Docker itself isn't the deciding factor here. I should have said the reverse proxy/web server or CDN in front of the sGTM container.

The main point I was making is that Stape isn't required for this. A self-hosted Docker sGTM setup can use a reverse proxy/CDN to serve the first-party loader and route the requests to the container.

1

u/_practical_data_ 26d ago

Lazy AI slop.
The main point your AI made was: “The exact implementation depends on how your Docker setup is configured.” That’s bullshit.
Now you’re just repeating the basic answer I already gave you: a custom loader is basically a proxy for the script, so you need a reverse proxy.
Please, stop pretending that you have any idea what you are talking about, you obviously don't.

0

u/Fit-Bar5633 26d ago

😂😂😂