Skip to content

feat: add Google Analytics tracking - #30

Merged
trakhimenok merged 1 commit into
mainfrom
feat/google-analytics
Jun 15, 2026
Merged

trakhimenok merged 1 commit into
mainfrom
feat/google-analytics

Conversation

@trakhimenok

Copy link
Copy Markdown
Contributor

Summary

  • Adds Google Analytics (G-SNF2R7PDY7) to the Angular app's index.html
  • Uses a client-side hostname check to skip GA on localhost / 127.0.0.1
  • Script tag is dynamically injected only on non-local environments

Test plan

  • App builds successfully
  • GA fires on production hostname
  • GA does not fire on localhost

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@trakhimenok
trakhimenok merged commit 4aabfe7 into main Jun 15, 2026
3 checks passed
@trakhimenok
trakhimenok deleted the feat/google-analytics branch June 15, 2026 19:12
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