Technical Architecture Overview
Understanding the technical architecture helps you plan and implement server-side tracking effectively.
System Components
1. Website (Client-Side)
- GTM Web Container
- Event tracking code
- Consent management
2. Server-Side GTM
- Server container (hosted on Stape/Google Cloud)
- Event processing
- Data routing
3. BigQuery
- Event data storage
- Data warehouse
- Analysis and reporting
4. Platform Integrations
- GA4 Measurement Protocol
- Meta Conversions API
- LinkedIn Insight Tag
- Other platforms
5. Consent Management
- CookieYes or similar
- User consent tracking
- Privacy compliance
Architecture Diagram
┌─────────────┐
│ Website │
│ (Client) │
└──────┬──────┘
│ Events
↓
┌─────────────────────┐
│ Server-Side GTM │
│ (Your Server) │
└──────┬──────────────┘
│
├──→ BigQuery (Storage)
├──→ GA4 (Analytics)
├──→ Meta (Ads)
└──→ LinkedIn (Ads)
Data Flow Details
Event Processing Steps
- Event received from website
- Validate event data
- Check user consent
- Enrich with user ID
- Anonymize if needed
- Store in BigQuery
- Forward to platforms
Data Enrichment
- User ID (anonymous)
- Session ID
- UTM parameters
- Referrer data
- Device information
- Timestamp
Security Considerations
Data Security
- HTTPS for all communications
- Encrypted data storage
- Secure API keys
- Access controls
Privacy Security
- Data anonymization
- Consent management
- GDPR compliance
- Data retention policies
Next Step: Follow the Implementation Guide for step-by-step setup instructions.