Skip to content

Move Google Analytics ID to config - #10

Merged
telivity-otaip merged 1 commit into
TelivityAI:mainfrom
smokeScreen56:move-ga-config
Aug 1, 2026
Merged

Move Google Analytics ID to config#10
telivity-otaip merged 1 commit into
TelivityAI:mainfrom
smokeScreen56:move-ga-config

Conversation

@smokeScreen56

@smokeScreen56 smokeScreen56 commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR moves the Google Analytics Measurement ID out of web/index.html and into the configurable web/config.js setup.

Fixes #1

Changes

  • Added an optional analyticsId field to web/config.example.js
  • Load Google Analytics only when CAREEROPS_CONFIG.analyticsId is set
  • Documented the new configuration option in web/README.md

Type

  • Bug fix
  • Feature
  • Docs / deploy
  • Chore

Checklist

  • No secrets or personal data in the diff (web/config.js not committed)
  • Docs updated if behavior or deploy steps changed
  • I agree this contribution is under Apache-2.0

@telivity-otaip

Copy link
Copy Markdown
Contributor

Thanks for the PR — this matches #1 well.

One note for after merge: Telivity’s hosted deploy will need analyticsId set in the deployed web/config.js (empty/default = analytics off, which is what we want for self-hosters).

Approving the first-time-contributor workflow now so Smoke can run; will merge once that’s green.

@telivity-otaip
telivity-otaip merged commit 3270725 into TelivityAI:main Aug 1, 2026
3 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.

Move Google Analytics ID into web/config.js (optional)

2 participants