Complete public PageView analytics for portal report #3

Closed
opened 2026-08-20 03:31:11 -07:00 by westfarn · 1 comment
Owner

Summary

Finish first-party public pageview analytics that was left in progress (stashed as wip analytics).

Scope

  • Add PageView model + migration for successful public GET hits
  • Wire PublicPageViewMiddleware (skip portal/admin/api/static/etc.)
  • Expose pageviews + top pages on the portal analytics report
  • Admin registration + tests

Acceptance criteria

  • Public marketing page GETs create PageView rows
  • Portal/admin/API/static/etc. are not recorded
  • Analytics report shows last-30-day pageviews and top pages
  • Migration applies cleanly; tests cover recording + report
## Summary Finish first-party public pageview analytics that was left in progress (stashed as `wip analytics`). ## Scope - Add `PageView` model + migration for successful public GET hits - Wire `PublicPageViewMiddleware` (skip portal/admin/api/static/etc.) - Expose pageviews + top pages on the portal analytics report - Admin registration + tests ## Acceptance criteria - [ ] Public marketing page GETs create `PageView` rows - [ ] Portal/admin/API/static/etc. are not recorded - [ ] Analytics report shows last-30-day pageviews and top pages - [ ] Migration applies cleanly; tests cover recording + report
Author
Owner

PR opened: feat/3-public-pageview-analyticsmain.

PR opened: `feat/3-public-pageview-analytics` → `main`.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/monica_site#3