How can we help?

How to use same origin approach for server GTM

Uliana Lesiv
Uliana Lesiv
  • Updated

With the same origin custom domain for server GTM, avoid Safari ITP restrictions on the cookies' lifetime. In addition, if you use the same origin domain with the tagging server, no additional configuration is required to extend cookie duration. In our other article, you can find out how to set up the same origin custom domain in server GTM.

However, this method of setting up a custom domain needs a way to proxy the requests; below are links to articles with examples of request proxy configuration using different services:

 

  1. Deno Deploy
  2. Netlify
  3. Vercel
  4. AWS CloudFront
  5. Caddy
  6. Apache HTTP Server
  7. Cloudflare
  8. Ngnix

 

Note: If you are using some other platform/service that isn’t listed above, we would appreciate it if you could send the instructions to us at support@stape.io. We will publish it, mention you as an author, and add a link to your social media account/website.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.