Hi everyone,
I’m working on implementing server-side tracking via Stape for a multilingual website, and I’d love your input on the best architecture.
Here’s the current setup:
- The website is a Single Page Application (SPA).
- We have 5 different GA4 properties, one for each market: IT, EN, FR, DE, and ES.
- There is a single client-side Google Tag Manager (GTM) container that dynamically loads the appropriate GA4 config depending on the active market.
- Now we want to implement server-side tagging using Stape.
I’m evaluating whether to continue using the 5 separate GA4 properties (with routing logic in the server container), or to migrate to a single GA4 property and differentiate markets via custom parameters (e.g., market: "IT"
).
What would you recommend as the best long-term setup for:
- Clean architecture
- Ease of maintenance
- Scalability
- Data consistency in GA4
- Server-side routing best practices
Thanks in advance