loreal-sla-calculator/server
Alessandro Benedetti Admin 21ec93f966 Add usage analytics: event tracking, API, and dashboard
Track page views, results clicks, copy-to-email on market page.
Track login events with auth method (SSO/email) and L'Oréal domain detection.
New analytics.html dashboard with charts (Chart.js), period/page filters.
Localhost auth bypass for local dev testing.

Post-deploy: run npm run migrate to create usage_events table.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 11:41:50 +00:00
..
controllers merge git and server changes 2026-03-13 10:52:07 +00:00
db Add usage analytics: event tracking, API, and dashboard 2026-03-17 11:41:50 +00:00
middleware merge git and server changes 2026-03-13 10:52:07 +00:00
routes Add usage analytics: event tracking, API, and dashboard 2026-03-17 11:41:50 +00:00
services merge git and server changes 2026-03-13 10:52:07 +00:00
utils merge git and server changes 2026-03-13 10:52:07 +00:00
.env.example merge git and server changes 2026-03-13 10:52:07 +00:00
index.js Add usage analytics: event tracking, API, and dashboard 2026-03-17 11:41:50 +00:00
package-lock.json merge git and server changes 2026-03-13 10:52:07 +00:00
package.json merge git and server changes 2026-03-13 10:52:07 +00:00