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

Type mismatch when using @segment/analytics-next #1683

Open
jurajmajerik opened this issue Jan 23, 2025 · 0 comments
Open

Type mismatch when using @segment/analytics-next #1683

jurajmajerik opened this issue Jan 23, 2025 · 0 comments
Labels
SDK Support General SDK issues rather than being related to a feature team

Comments

@jurajmajerik
Copy link
Contributor

When using the latest @segment/analytics-next, passing window.analytics to segment in posthog-js triggers type errors. Our segment config currently expects the older Segment interface SegmentAnalytics. We should update posthog-js to accept the latest type AnalyticsSnippet.

Internal ticket: https://posthoghelp.zendesk.com/agent/tickets/23120

@jurajmajerik jurajmajerik added the SDK Support General SDK issues rather than being related to a feature team label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SDK Support General SDK issues rather than being related to a feature team
Projects
None yet
Development

No branches or pull requests

1 participant