ClimateMind / ClimateMind/climatemind-backend

analytics endpoint

Open
#503 0 comments 0 reactions 1 assignee Claimed by @rodriguesk View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.