How to set up server-side tracking

Written by

Ivanna Holubovska

Updated Jul 2, 2026 comments
  1. 1.
  2. 2.
  3. 3.
  4. 4.
  5. 5.

Want better tracking but don't know where to begin?

What is server-side tracking?

Stape Academy

How to implement server-side tracking with Google Tag Manager container

How to create server Google Tag Manager container

Create a Google Tag Manager server container

➡️ Note

Set up server GTM
Set up server GTM
Set up server GTM

Create a container in Stape

  1. 1.
  2. 2.
Create sGTM container
Enter the container details
Select the container plan
Select billing country
Add your billing information and payment method
Click Save billing information
Subscribe now
Status running

Set up custom domain

How to add custom domain in GTM container
Types of custom domain config

Step 1. Add your custom domain

How to add a custom domain in the Stape admin

Step 2. Add CDN

CDN toggle

Step 3. Select the "How to connect" method

"How to connect" options
Automatic connection via Entri
Manual connection selected

Step 4. Add DNS records (for the manual connection method)

Adding a custom domain with a CNAME record
Adding a custom subdomain with A and AAAA records

Step 5. Verify your domain

"Verify" button
Status "Ready" in the Stape admin

Step 6. Add tagging server URL and update your website script

Server container URL in GTM
Custom Loader
Tracking Score
Domain Settings
Score panel

Why Stape is the easiest and cheapest way to start with server-side tracking

Set up server Google Analytics 4

How to set up server-side Google Analytics 4
Set up Google tag
Set up GA4
Set up GA4
Set up GA4
Set up GA4
Set up GA4
Set up GA4
Set up GA4
Set up GA4
Set up GA4
Set up GA4
Set up GA4

Set up server-side tracking for Google Ads

Set up server-side Google Ads

Set up server-side tracking for Facebook Ads

Debugging and monitoring server-side tracking setup

Launching Preview mode
Tags Fired section in web GTM preview
Tags Fired section in server GTM preview
Outgoing HTTP Requests

Additional tools useful for debugging

Advanced server-side tracking setup

1. Verify the setup with the Website Tracking Checker

3. Set up Stape power-ups and other features

4. Get help – Helpdesk, community & 24/7 support

5. Learn by yourself - Stape Academy

6. Easier way to set up server-side tracking

  1. 1.
  2. 2.
  3. 3.
  4. 4.

Conclusion

Would like to try server-side tracking?

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