Page body
What this surface shows
Analytics / Opt-In Clicks / List is one combined analytics page for opt-in interaction records.
The route shows two layers at once:
- aggregated analytics at the top
- raw records in the table below
Use the top section when you need a quick summary of views, clicks, click rate, and the strongest-performing features for the selected date window. Use the table when you need to inspect concrete records by feature, user, IP address, or timestamp.
How to read the page
Top summary cards
The first row shows:
Total ViewsTotal ClicksClick RateUnique Users
These cards are derived in FE from the backend stats response grouped by feature. They are useful for quick monitoring, but they are not a separate immutable reporting endpoint with one precomputed totals row.
Feature Performance
This block ranks features by view volume and shows per-feature:
- views
- clicks
- CTR
Only the top 10 features by views are shown in this block.
Daily Trend
This block shows the last 30 daily buckets returned by backend aggregation, reformatted in FE for compact display.
Raw record table
The table is the row-level inspection surface. It is the place to verify a single record, identify the feature slug, confirm whether the record was only viewed or actually clicked, and export or delete selected rows.
Filters that change the page
The page contains five visible filters:
FeatureStatusUser IDStart DateEnd Date
Important scope difference:
Start DateandEnd Dateaffect both the top analytics section and the raw table.Feature,Status, andUser IDaffect the raw table request only.
Actions operators can use
Refreshreloads the current table query.Export CSVdownloads rows for the current table filter set.Deleteremoves the selected raw records after confirmation.Resetclears the visible filters and returns the table to its default list state.
Common questions
Why do the top cards stay the same when I change Status or User ID?
Because the stats request only receives startDate and endDate. Those cards do not use the table-only filters.
Why can Unique Users look larger than expected?
Because FE sums unique_users across feature groups. If one user interacted with multiple features, that user can be counted more than once in the top card.
What is the difference between Viewed and Clicked?
Viewed means the record exists with clicked = 0. Clicked means the stored record has clicked = 1.
Is there a row detail page?
Not in the currently verified FE route. The operator surface is the combined page with embedded table and stats.
Known caveats
- The
Featuredropdown counts come from backend aggregation that is narrowed only by date range, not byUser IDorStatus. - The table row selection is purely for bulk deletion on this screen.
- The admin backend also exposes a create route, but no verified Backoffice create form exists on this module today.
Verification status
- status:
verified_backend - last verified:
2026-04-15 - note: FE route, filters, stats transforms, delete/export actions, and backend route ownership were traced. No
nx-workspacedependency was required for the current surface.