Browse the documentation
Boosters
Shopify apps
Same-Origin Setup
DNS Setup
Getting Started with sGTM Hosting
Set up with Cloudflare Workers
1. In Cloudflare, go to: Compute & AI > Workers & Pages and create a new Worker. 2. Configure the Worker code to intercept requests on the chosen path (/metrics/) and route them to the sGTM server. 3. Add a Route mapping your sGTM URL to your domain. 4. Configure Configuration Rules with SSL set […]
1 min readUpdated on 17 November 2026
1. In Cloudflare, go to: Compute & AI > Workers & Pages and create a new Worker.
2. Configure the Worker code to intercept requests on the chosen path (/metrics/) and route them to the sGTM server.
3. Add a Route mapping your sGTM URL to your domain.
4. Configure Configuration Rules with SSL set toFull.
5. Create a Request Header Transform Rule adding the header X-From-Cdn: cf-wascer.
6. Save and deploy.