Google Tag Gateway + Stape Gateway: first-party tagging setup

Written by

Faris

Updated Sep 19, 2025 comments

Google's First-Party Mode overview 

What is Google's First-Party Mode? 

How Google's First-Party Mode works

  1. 1.
  2. 2.

Stape Gateway: a flexible, multi-platform first-party solution

Can Google's GTG be used with Stape?

Why consider Stape Gateway as the better choice?

GTG + Stape setup in action

GTG setup with Cloudflare
Create Origin Rules in Cloudflare

Summary of tests and results: 

Collect hits go to the new endpoint, as FPM proxies those calls through Cloudflare Gateway
Collect hits go to the new endpoint, as FPM proxies those calls through Cloudflare Gateway
Loader + FPM coexist fine

Conclusion

Want to start on the server side?

Try for free

Written by

Faris

Content writer

Faris, a server-side tracking specialist, assists businesses in optimizing data accuracy and tracking setups. With expertise in GTM, he simplifies complex tracking for marketers and developers alike.

Was this article helpful?

Comments

Recommended for you

Blog

Google Tag Gateway explained

Google Tag Gateway allows setting up first-party tracking for GA4 and Google Ads. Check out how it works, its benefits, and comparison with SST.

Jul 30, 2026

Turn better tracking into better marketing performance

Try for free