Summary: Server-side tagging improves signal quality while respecting consent. Use GTM-SS with Consent Mode, value events and web/server dedupe via event_id.
Simple architecture
- Edge/Server: GTM-SS (App Engine/Cloud Run) on your subdomain.
- Client-side: send events with
event_id
+ consent state. - Endpoints: GA4, CAPI and others.
What to send
purchase
with revenue/currency;subscribe
; qualifiedgenerate_lead
(score).- Context params (items, category, coupon, source).
Privacy and modeling
- Respect consent; limited pings until consent.
- Modeled conversions stabilize with consistent signals.
Debug and QA
- Unique event IDs; dedupe web vs server.
- DebugView, test modes, error monitoring.
Internal links
Conclusion
With GTM-SS and Consent Mode, you send what matters with higher quality—and platforms reward you with steadier performance.