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

[Feature] Game Statistics Collection #161

Open
4 tasks
xHayden opened this issue Sep 17, 2024 · 0 comments
Open
4 tasks

[Feature] Game Statistics Collection #161

xHayden opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels

Comments

@xHayden
Copy link
Contributor

xHayden commented Sep 17, 2024

Context

We're starting to implement the CMS Dashboard pages. All that's created so far is a Provider for handling the authentication with the analytics API, and an event is created whenever anyone goes to a page.
We need to implement the backend for the CMS dashboard to collect analytics

Requirements

Frontend

Backend

  • Create a custom analytics events for downloads, hits to PDF (clicking view lesson plan, parenting guide, etc buttons) (each)
  • Only log once when someone hasn't reloaded the page.
  • Ensure that data is timestamped in same way as generic visit events so we can filter out re-downloads from the same user.
  • Make sure to store userid, created date, user group, game name, url, resource name, resource url (optional; raw url to pdf)

Acceptance Criteria

  • Create a custom analytics events for downloads, hits to PDF (clicking view lesson plan, parenting guide, etc buttons) (each)
  • Only log once when someone hasn't reloaded the page.
  • Ensure that data is timestamped in same way as generic visit events so we can filter out re-downloads from the same user.
  • Make sure to store userid, created date, user group, game name, url, resource name, resource url (optional; raw url to pdf)

Notes

Bog Analytics NPM Package Docs
Dashboard on Figma

Related to #158

@xHayden xHayden changed the title [Feature] Game Statistics [Feature] Game Statistics Collection Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants