-
Notifications
You must be signed in to change notification settings - Fork 14
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
[Analytics] Fix user IDs in Posthog #1372
Comments
I set npub as the preferred property after NIP-05 for displaying person names in PostHog. You can have an example here https://us.posthog.com/project/56924/person/0191571B-2964-7D9B-BF48-8E7A6C08BE9C of a user with both npub and NIP-05 set. |
@martindsq @mplorentz - Admittedly I'm a bit unclear on what the expected outcome should be of this ticket. These are the steps I used to test it.
When I copied a posthog ID and searched for it in the people search, it yielded this result: Which still does not have either the NPub or the Nip05. |
@setch-l it looks like this hasn't been deployed to production yet. We won't start seeing npubs replace the UUIDs until the build is in production and folks launch the app so it can report their npub to PostHog. Although you can do some testing with a staging or production build. Just generate a fresh account, don't set an NIP-05, and then search for them in https://us.posthog.com/project/56924/persons and their npub should show up as the primary identifier, not the ugly UUID. |
When Posthog lists users it displays some with a NIP-05, some with an npub, and some with a UUID. Most of the users with a UUID also have an npub set, and we want Posthog to display that.
I think we need to submit the npub as a property when we call
Analytics.identify
in the app, and then add the npub to the list of properties used for "Person Display Name" in the PostHog settings.The text was updated successfully, but these errors were encountered: