Skip to content

feat: add Google Analytics and Microsoft Clarity tracking#2

Merged
devLeticia merged 2 commits intomainfrom
feat/add-analytics
Mar 21, 2026
Merged

feat: add Google Analytics and Microsoft Clarity tracking#2
devLeticia merged 2 commits intomainfrom
feat/add-analytics

Conversation

@devLeticia
Copy link
Copy Markdown
Owner

  • Install @next/third-parties for Google Analytics (GA4)
  • Install @microsoft/clarity for Microsoft Clarity
  • Load both via env variables (NEXT_PUBLIC_GA_ID, NEXT_PUBLIC_CLARITY_ID)
  • Warn in console if either env variable is not set

devLeticia and others added 2 commits March 21, 2026 19:23
- Install @next/third-parties for Google Analytics (GA4)
- Install @microsoft/clarity for Microsoft Clarity
- Load both via env variables (NEXT_PUBLIC_GA_ID, NEXT_PUBLIC_CLARITY_ID)
- Warn in console if either env variable is not set

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@devLeticia devLeticia self-assigned this Mar 21, 2026
@devLeticia devLeticia merged commit 33cc4e1 into main Mar 21, 2026
1 check 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.

1 participant