icon

Google Tag Manager Server-Side

Google Tag Manager Server-Side (SST) deployment template, supporting Preview Server and Tagging Server.

PlatformZeabur
Deployed1
Publisherleechenghsiu
Deployed1 times
Publisherleechenghsiu
Created2025-06-04
Services
service icon
service icon
Tags
GoogleTag ManagerAnalyticsTracking

Google Tag Manager Server-Side (SST) on Zeabur

This template helps you quickly deploy Google Tag Manager Server-Side (SST), including Preview Server and Tagging Server.

Steps

  1. Go to the GTM Server Container backend, click the container ID in the top right corner, select "Manually provision tagging server", and copy the Container Config.
  2. Set the domains for Preview Server and Tagging Server (recommended to use different subdomains).
  3. After deployment, fill in the public URL of the Tagging Server into the GTM backend Admin > Container Settings > Server container URL.
  4. Refer to the official documentation for verification and health checks.
  • Official documentation: https://developers.google.com/tag-platform/tag-manager/server-side/manual-setup-guide

Health checks

  • You can check the service status through the /healthz path, for example https://your-domain/healthz.

Notes

  • Preview Server can only have one instance, and must set RUN_AS_PREVIEW_SERVER=true.
  • Tagging Server must set PREVIEW_SERVER_URL to the HTTPS URL of the Preview Server.
  • It is recommended to bind the two services to different subdomains.