Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Add wallet address to "Identify" #1130

Open
bekkibolthouse opened this issue Jan 12, 2015 · 2 comments
Open

Add wallet address to "Identify" #1130

bekkibolthouse opened this issue Jan 12, 2015 · 2 comments

Comments

@bekkibolthouse
Copy link
Contributor

Users can now merge and delete accounts; usernames can be reclaimed. This has the potential to create account name collision in our data set. Please start collecting wallet address to Identify users. Currently, we rely upon the federated username only. @dirtyanalytics and @tammycamp

@jpetey75
Copy link

If you guys switch to identifying based on wallet address there will be a period of time where many users are double counted in Amplitude, is that ok? Basically "active users" is based on a 30 day window so if a user is active and gets re-identified with wallet address Amplitude thinks it's a new user, but still also thinks the old username is a unique user.

If wallet address is a better unique key in the long term it's probably better to make the switch sooner than later.

All that needs to be done is update any and all calls to analytics.identify to look something like this:

analytics.identify(user.wallet_address, {
  username: user.username,
  email: user.email
});

(plus any other traits that are currently in the calls)

@bekkibolthouse
Copy link
Contributor Author

Holding pattern on this; usernames with deletedAt timestamp cannot be reclaimed at this time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@jpetey75 @bekkibolthouse and others