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

Track NIP-05 in PostHog #1201

Merged
merged 1 commit into from
May 30, 2024
Merged

Track NIP-05 in PostHog #1201

merged 1 commit into from
May 30, 2024

Conversation

martindsq
Copy link
Member

Issues covered

#1178

Description

I'm using PostHog's userProperties to add the NIP-05 of the user when possible. I checked in PostHog that we indeed receive the property and can add a NIP-05 column there.

How to test

  1. Add the POSTHOG api key in devsecrets
  2. Use the app, the NIP-05 will be set when the user opens the Home tab
  3. Navigate to PostHog
  4. Go to Activity
  5. See the new events coming with a NIP-05 property attached to the user (bare in mind that events coming from nos-dev can be filtered using App Namespace there.

Screens

Captura de pantalla 2024-05-29 a la(s) 17 11 30
Captura de pantalla 2024-05-29 a la(s) 17 11 07
hots/Video

Copy link
Contributor

@joshuatbrown joshuatbrown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and found myself in PostHog. This looks great!

@martindsq martindsq added this pull request to the merge queue May 30, 2024
Merged via the queue into main with commit ff33384 May 30, 2024
7 of 8 checks passed
@martindsq martindsq deleted the 1178/nip05_posthog branch May 30, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants