Snowplow tracking integration with server Google Tag Manager

Written by

Ivanna Holubovska

Updated Jan 27, 2025 comments

Overview of Snowplow tracking

Benefits of pre-pipeline approach with server-side tagging

How to integrate Snowplow with sGTM

Step 1. Install Snowplow Client on your server container

Step 2. Add Snowplow tag

Step 3. Point your JS tracker to your server container's subdomain

snowplow('newTracker', "sp', "{{collector_url_heret?', { appId: 'my-app-id', discoverRootDomain: true, cookieSameSite: 'Lax', // Recommended contexts: { webPage: true // default, can be omitted } }) ;

Step 4. Test your setup

Step 5. Publish your container(s)

To sum up

Want to start using server-side tags?

Stape has lots of tags for server GTM! Click on Try for free to register and check them all.

Try for free

Written by

Ivanna Holubovska

Content writer

Ivanna is a Lead Content Manager at Stape and a certified author on Clutch and KyivPost. She writes high-quality content on server-side tracking to help businesses optimize strategies and analytics.

Was this article helpful?

Comments

Recommended for you

Turn better tracking into better marketing performance

Try for free