Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation plan #2

Open
14 of 17 tasks
paulpopus opened this issue Mar 26, 2023 · 0 comments
Open
14 of 17 tasks

Implementation plan #2

paulpopus opened this issue Mar 26, 2023 · 0 comments

Comments

@paulpopus
Copy link
Contributor

paulpopus commented Mar 26, 2023

Part 1 - backend API

  • Add reusable provider function/class that allows us to authenticate and fetch data:
    • per last 30 days for whole site
    • last 7 days for whole site
    • per last 30 days per content item
    • per last 7 days per content item
  • Backend API routes with authentication
  • Update plugin config to account for these
  • 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)
  • Support Plausible and Google Analytics

Part 2 - frontend components

  • Charts made using https://react-charts.tanstack.com/ ?
  • Add dashboard statistics component configurable:
    • Before dashboard
    • After dashboard
  • Add per content item analytics data

Part 3 - allow further extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant