## Part 1 - backend API - [x] Add reusable provider function/class that allows us to authenticate and fetch data: - [x] per last 30 days for whole site - [x] last 7 days for whole site - [x] per last 30 days per content item - [x] per last 7 days per content item - [x] Backend API routes with authentication - [x] Update plugin config to account for these - [x] Add a matcher function for collections (eg. how do we map analytics URL data to collections in Payload? should be an end developer configuration item) - [x] Support Plausible and Google Analytics ## Part 2 - frontend components - [x] Charts made using https://react-charts.tanstack.com/ ? - [x] Add dashboard statistics component configurable: - [x] Before dashboard - [x] After dashboard - [x] Add per content item analytics data ## Part 3 - allow further extension - [ ] #9 - [ ] #7 - [ ] #8
Part 1 - backend API
Part 2 - frontend components
Part 3 - allow further extension