-
Notifications
You must be signed in to change notification settings - Fork 594
Use GitHub username or id to identify #370
Use GitHub username or id to identify #370
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will we need to make some changes to answer.rs and analytics.rs to propagate the user identifier into the analytics DB? At the moment the frontend passes a user_id to /answer.
@anastasiya1155 I'd like to get your input on this. What is the user_id passed to /answer?
We use unique device id as a user identifier at the moment |
oppiliappan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this also opens up the gates for adding gh user-ids in analytics events!
This adds a persistent tracking_id that's user-aware. The core of the logic is in
webserver/config.rs, and would be good to get another pair of eyes if this is what we want.This also opens the opporunity to potentially reset this in the future on a per-user basis, but that's unimplemented currently.