Google’s first-party mode vs. server-side tracking

Written by

Uliana Lesiv

Updated Sep 9, 2026 comments

What is first-party mode?

How does it work?

CDN

Difference between standard, first-party mode, and first-party serving setup

First-party mode vs server-side tracking

First-party mode vs server-side tracking

Reduction of ad blockers impact

Control over data

Scaling

Price

What do you need to set up Google's first-party mode?

How to set up Google first-party mode?

Step 1. Come up with a tag serving path

Note

To avoid conflicts, make sure the path isn't used for any other purpose on your website.

Step 2. Set up data routing

Note

To use Cloudflare for this setup, you must have an Enterprise subscription.

Configure DNS
Origin Rules

Step 3: Update Google Tag scripts

Step 4: Test the setup

Preview mode in GTM

Conclusion

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

Uliana Lesiv

Content writer

Uliana is a Content Manager at Stape, specializing in analytics and integration setups. She breaks down complex tracking concepts into clear insights, helping businesses optimize data collection.

Was this article helpful?

Comments

Recommended for you

Blog

Zero and first-party data explained

Discover the differences between zero-party vs first-party data, their advantages, and practical applications for improving marketing strategies.

Aug 18, 2026

Turn better tracking into better marketing performance

Try for free