[ABTEST-104] Create unique user Id on FE for observation user actions Created: 14/Nov/19  Updated: 27/Nov/19  Resolved: 26/Nov/19

Status: Closed
Project: A/B Testing
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Story Priority: Neutral
Reporter: Nguyen Phung Chi Assignee: Evzen Fochr
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1.75d
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: Cloud storage & observation
Sprint: Add-Ons 25
Story Points: 5

 Description   

Situation:

The user action observation functionality is done in ABTEST-97, but there is missing a valid unique user Id which should be generated that represents user identifier when interact on the AB testing variant.

There is a proposed solution is to use Fingerprinting technique, please refer following page and link:

https://wiki.magnolia-cms.com/x/fYIpD

https://github.com/Valve/fingerprintjs2 

AC:

  • Have a unique id for end users
  • The user id should be the same on each user action events (json in S3)

Dev hints:

  • Generate id by using a library and set it to "userId" variable in user-action-bundle.js - line 1142

Generated at Sun Feb 11 22:52:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.