the analytics vault
Resources: 136 (72 new this week)
a Hipster Data Club product Hipster Data Club

That mysterious server-side tagging thing everyone's talking about

Original: How to Set Up Google Tag Manager Server-Side Tagging (Cloud Run)

May 26, 2025
50 min read
Tutorial
Intermediate
Google Tag Manager Server-side Tagging: The Guide

Summary

Deploy a GTM server container on Google Cloud Run and send test events.

Who This Is For

Marketing Analysts
Technical Marketers
Analytics Engineers

Key Takeaways

  • Learn how to set up a Google Tag Manager server-side container using Google Cloud Run
  • Configure custom domain mapping to route tracking data through your own server
  • Understand the difference between client-side and server-side data collection flows
  • Set up client and tag configurations within the server container to process and forward data
  • Identify when server-side tagging is worth the added complexity for performance and privacy benefits

Tools & Technologies

Google Tag Manager Google Cloud Run Google Analytics 4 Custom domain configuration Server-side GTM containers

Topics Covered

tutorial google-tag-manager server-side cloud-run