Telemetry userID can only be AUID and not anonymous ID
(COMPASS-7519)
|
|
| Status: | Ready for Work |
| Project: | Compass |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Sub-task | Priority: | Major - P3 |
| Reporter: | Maurizio Casimirri | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Developer Tools
|
| Sprint: | Iteration Utahraptor |
| Description |
|
This task is a follow up to removing the current `userId` that is the same as anonymousId. With this task we want to reintroduce the `userId`, but properly bind it to atlas UIDs. For this purpose we should change CompassTelemetry and the atlas login code such that if an atlas user id is present in preferences, we use it as "userId" together with the "anonymousId" for both identify and track calls. This should start happening as soon as a user logs in and for all the subsequent sessions, until a user logs out (in which case we only need to remove the userId), or logs in with a different account. That means that:
NOTE: this change should not affect CompassTelemetry and the Compass atlas login only, and should not affect the general interface of the telemetry in the provider or Data Explorer. |