Skip to content

Conversation

@un33k
Copy link
Member

@un33k un33k commented Sep 5, 2025

Summary

  • Added Google Analytics tracking code (G-GC4F593HEQ)
  • Placed immediately after opening <head> tag per Google's requirements
  • Properly integrated using Next.js dangerouslySetInnerHTML

Test plan

  • Verify Google Analytics script loads immediately after <head> tag in page source
  • Check that analytics events are being tracked in Google Analytics dashboard
  • Ensure no console errors related to gtag
  • Verify page performance is not impacted

🤖 Generated with Claude Code

@vercel
Copy link

vercel bot commented Sep 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
btc Ready Ready Preview Comment Sep 5, 2025 11:13pm

- Google Analytics only loads if NEXT_PUBLIC_GA_MEASUREMENT_ID is set
- Added .env.example with optional GA configuration
- Keeps tracking ID private and out of open source code
- No analytics tracking without explicit configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@un33k un33k merged commit 1d8f4bb into main Sep 5, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants