New Google Tag Manager Web Container Client for Server Side Tagging
With the introduction of server-side tagging in Google Tag Manager, the variety of things you can do with your own server-side proxy is mind-boggling:
- Reduce client-side bloat by consolidating data streams and distributing them to vendor endpoints server-side.
- Improve data security by adding safeguards and validations to prevent harmful data from being sent to vendor endpoints.
- Enrich data server-side, by combining the incoming data stream with data from APIs and data stores that you own and control.
- Remove third-party downloads from the browser by proxying them via the server-side container.
This last point is what this article expands on. If you check out this video (jumps straight to the relevant part), you can see how it’s possible to already proxy popular libraries like analytics.js and gtag.js.
Read More…