Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enrich fingerprint hash with IP address #59

Merged
merged 3 commits into from
Oct 23, 2024

Conversation

pixeldesu
Copy link
Member

@pixeldesu pixeldesu commented Oct 15, 2024

Tracking purely based on device fingerprinting lead to some issues, namely mobile browsers working more towards sandboxing requests so that device hashes end up being the same across the same line of devices. This makes individual tracking unreliable and in the case of Lux leads to some leads that contain several different people in them.

This change enriches the fingerprint with the users IP address and hashes it again, leading to a more unique identification value.

Negative impact of this change:

  • (BREAKING) Previously identified users can't be identified anymore, as the calculated fingerprint value has changed.
  • Compared to before, we now create more unique users than before, as IP addresses (usually) change on the regular for home connections or when switching wi-fi/cellular networks.

Tracking purely based on device fingerprinting lead to some issues,
namely mobile browsers working more towards sandboxing requests so
that device hashes end up being the same across the same line of
devices. This makes individual tracking unreliable and in the case
of Lux leads to some leads that contain several different people
in them.

This change enriches the fingerprint with the users IP address
and hashes it again, leading to a more unique identification
value.

Negative impact of this change:
* (BREAKING) Previously identified users can't be identified anymore,
  as the calculated fingerprint value has changed.
* Compared to before, we now create _more_ unique users than before,
  as IP addresses (usually) change on the regular for home connections
  or when switching wi-fi/cellular networks.

Related: https://projekte.in2code.de/issues/67221
@pixeldesu pixeldesu requested a review from einpraegsam October 15, 2024 13:14
Local storage fingerprint values are already deterministic,
they don't require the extra uniqueness factor.

Related: https://projekte.in2code.de/issues/67221
@einpraegsam einpraegsam merged commit a6212e8 into develop Oct 23, 2024
14 checks passed
@einpraegsam
Copy link
Contributor

Thx for digging into this issue

@einpraegsam einpraegsam deleted the feature/ip-enrich-fingerprint branch October 23, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants