Selaa dokumentaatiota

Set up with Cloudflare Workers

Lukuaika 1 minView as Markdown

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.

Was this article helpful?

Still stuck? Talk to support.

Comments

Leave a comment

Only your first name and last initial appear on the site; your email stays with us. See the privacy policy.