You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Google Analytics tag detection by implementing build-time environment variable resolution
- Add TypeScript utility system in src/utils/google-config.ts for centralized Google service configuration
- Update src/components/bases/head.astro to use define:vars for proper inline script variable injection
- Fix Google Tag Manager and Google Analytics scripts to use actual resolved values instead of template literals
- Ensure all Google services (GA, GTM, AdSense, Site Verification) are properly configured at build time
- Build completed successfully with all 52 pages generated and Google tags properly resolved
0 commit comments