Files
kjvstudy.org/kjvstudy_org
kennethreitz d439acbdea Add hidden analytics opt-out feature via ?kr=1 parameter
Users can now disable analytics by visiting homepage with ?kr=1:
- Detects ?kr=1 parameter and sets localStorage + cookie
- Analytics script checks both before loading
- Persists across sessions (10 year cookie + localStorage)
- ?kr=0 re-enables analytics if needed
- Clean URL redirect after setting preference
- Fully client-side, privacy-focused implementation

Technical details:
- localStorage primary (instant, no server traffic)
- Cookie fallback (315360000s = 10 years)
- window.analyticsDisabled flag for runtime checks
- Gauges analytics respects opt-out flag

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 17:27:43 -05:00
..
2025-12-01 13:48:47 -05:00
2025-11-30 21:26:59 -05:00
2025-11-30 21:26:59 -05:00
2025-11-30 21:26:59 -05:00
2025-12-01 13:48:47 -05:00
2025-12-01 13:48:47 -05:00