stellar-client icon indicating copy to clipboard operation
stellar-client copied to clipboard

Add wallet address to "Identify"

Open bekkibolthouse opened this issue 10 years ago • 2 comments

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

bekkibolthouse avatar Jan 12 '15 23:01 bekkibolthouse

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)

jpetey75 avatar Jan 15 '15 16:01 jpetey75

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

bekkibolthouse avatar Jan 27 '15 23:01 bekkibolthouse