feat/36-tianji-event-tracking
master
Closes #36.
Helpers / consent gating already exist from #42. This PR adds call sites + docs:
identifyAccount
AnalyticsSession
Logout
BILLING_PORTAL_OPENED
llm-fe/ANALYTICS.md
No chat_backend changes required.
chat_backend
npm run test:ci -- --testPathPattern='analytics.test|SignIn.test|SignUp.test|AuthCallback.test'
a0a034bbf8
3a4a463416
Add identifyAccount + AnalyticsSession, instrument MVP funnel call sites without PII payloads, and document event names in ANALYTICS.md. Billing portal event reserved until #33.
d6f6698a15
No dependencies set.
The note is not visible to the blocked user.
Summary
Closes #36.
Helpers / consent gating already exist from #42. This PR adds call sites + docs:
identifyAccount+AnalyticsSession(identify on session;Logoutwhen auth ends)BILLING_PORTAL_OPENEDreserved until Account portal (#33)llm-fe/ANALYTICS.mdNo
chat_backendchanges required.Test plan
npm run test:ci -- --testPathPattern='analytics.test|SignIn.test|SignUp.test|AuthCallback.test'a0a034bbf8to3a4a4634163a4a463416tod6f6698a15