Commit c06b3c0
OpenConceptLab/ocl_online#70 | Track signup and logout in analytics
Remove /users/signup/ and /users/logout/ from AnalyticsMiddleware's
ignore list. They're real user-intent events — top-of-funnel and
session-end signals — and belong in APITransaction like the login
events previously added in ocl_online#55.
The remaining ignore_paths stay skipped — favicon, swagger, redoc,
version, toggles, OIDC code exchange, api-token, password reset, and
/user (singular). Those are noise/auth flows that don't represent
meaningful usage.
Verified no password leak: core/services/analytics_event_emitter.py
captures request method, path (URL + query string), headers (with
auth/cookie redacted), and client — never the request body. Signup
payloads carry the password in POST body, which is not emitted.
Part of the data-extraction-v2 coverage audit. See
ocl-strategy/docs/plans/data-extraction-v2-plan.md item 6 section.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a69141f commit c06b3c0
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
279 | 282 | | |
280 | 283 | | |
281 | 284 | | |
282 | | - | |
283 | 285 | | |
284 | 286 | | |
285 | 287 | | |
| |||
0 commit comments