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

Integrate Posthog configuration with LocalStorage values provided by the Console #160

Merged

Conversation

derekwolpert
Copy link
Member

  • Conditionally enable Posthog with 'localStorage+cookie' persistence
  • Use NOOP_IDENTITY as a distinctID value with Posthog if it exists in LocalStorage
  • Migrate prior NOOP_PH_UID LocalStorage items to NOOP_GUEST
  • Introduce new pattern for anonymous user ids prefix by /guests/ (existing anonymous user ids are left as-is)

@derekwolpert derekwolpert added the enhancement New feature or request label May 10, 2024
@derekwolpert derekwolpert requested a review from 1800joe May 10, 2024 18:37
@derekwolpert derekwolpert self-assigned this May 10, 2024
Copy link
Member

@1800joe 1800joe left a comment

Choose a reason for hiding this comment

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

lgtm

@derekwolpert derekwolpert merged commit c5d4709 into main May 10, 2024
1 check passed
@derekwolpert derekwolpert deleted the integrate-posthog-with-noop-identity-localstorage-value branch May 10, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants