Custom GTM Loader for Server-Side Tagging

While server-side tagging already has a wonderful built-in Client for proxying the Google Tag Manager container via your own first-party domain, it’s not perfect. The main issues are that it doesn’t let you delimit access on a per-origin basis, so requests for the allowlisted container IDs can be sent from anywhere, and that it doesn’t let you freely choose the path via which the container ID is loaded. To address these issues, I’m happy to reveal that I’ve written a new Client template for Server containers, named GTM Loader. Read More…