ClimateMind / ClimateMind/climatemind-backend
analytics endpoint
Open
enhancement
- Dominant language
- Python
- Stars
- 24
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
# User story
We need user interaction tracked through an endpoint so we can improve their experience by tracking user journeys. We have historically been using google tag manager to track clicks but are switching now to have a dedicated endpoint for it.
# Acceptance criteria
- [ ] /analytics POST endpoint with Header: X-Session-Id and body of category, action, label, eventValue, eventTimestamp, and pageUrl
- [ ] includes documentation
- [ ] unit test for adding an event
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.