GA Data to Azure using GTM
- GIT Repository – My website code: prasoot.github.io
- VS Code – Wrote my website code
- Custom Domain – Registered at GoDaddy: beyondscreen.online
- Google Analytics (GA) – Created my account
- Google Tag Manager (GTM) – Created my account
- GTM
- Created Web and Server Containers
- Created Tags – GA Tag
- Website Code – Added GTM scripts to my pages
- Google Cloud Run – Created a Server Container for sGTM
- DNS Configuration – Added CNAME and ANAME in GoDaddy for GitHub Pages
- Subdomain – Created subdomain analytics.beyondscreen.online and routed to my sGTM Server Container
- Validation – Used Chrome DevTools to ensure GA tags for both Web and Server containers are working
- sGTM → Azure – Configured Server Container on Cloud Run to forward all events to an Azure Function URL
- Azure Function – Created to receive GA events
- Testing – Validated Azure Function with Postman