Amplitude Google Tag Manager (GTM) Server-Side Template

Adam Greco

Product Evangelist, Amplitude

people reacted
2 -minute Read,

Posted on May 16, 2022

The Amplitude server-side GTM template makes it easy to send data to Amplitude via a server-side implementation.

Amplitude GTM Server-Side

A few months ago, Amplitude, in collaboration with Simo Ahava released an Amplitude Google Tag Manager (GTM) Template (client-side). This free GTM Template made it possible for any Google Analytics customer using GTM to send data to Amplitude. The GTM Template allowed organizations to re-use all of the work that had gone into building their digital analytics data layer to send data to Amplitude. The adoption of the GTM Template has been amazing! We have seen steady growth in the use of this template since its release (partly driven by the announcement of the sunsetting of Universal Analytics!).

GTM Template Usage

However, the Amplitude Google Tag Manager Template was developed for a client-side analytics implementation. With all of the changes taking place around privacy, GDPR, and browsers, many organizations are shifting their analytics tagging to server-side instead of client-side. To address this need, we are excited to announce that Simo Ahava has created a new Server-Side Amplitude GTM Template. You can find this new GTM Template in the gallery.

Some of the advantages of using this server-side template include:

  • You only have to make minimal changes to your existing website tagging. The Amplitude template running in your server-side Google Tag Manager container will handle mapping the incoming requests to the format that Amplitude expects
  • You get to choose exactly what data Amplitude receives
  • You can completely remove personal data, such as the user’s IP address before the hit is sent to Amplitude
  • With server-side tagging, you can enrich the hits in the server, pulling data from your other systems before the whole package is sent to Amplitude
  • By hosting the server-side tagging endpoint (which you 100% own) on your own subdomain, you can access first-party cookies and HTTP headers when building the Amplitude request
  • You don’t need to know anything about server-side technologies or the cloud. With this template and with the familiar Google Tag Manager user interface, you can build a server-side setup quite painlessly

Below is a short video that explains how the Amplitude GTM Server-Side Template works:

 

GA-Webinar

Adam Greco

Adam Greco is one of the leading voices in the digital analytics industry. Over the past 20 years, Adam has advised hundreds of organizations on analytics best practices and has authored over 300 blogs and one book related to analytics. Adam is a frequent speaker at analytics conferences and has served on the board of the Digital Analytics Association.

More from Adam

Inside Amplitude