React Native product analytics installation
Install the PostHog React Native library and its dependencies: PostHog is most easily used via the Once installed, PostHog will automatically start capturing events. You can also manually send events using the 1Install the package
Required2Configure PostHog
RequiredPostHogProvider component. Wrap your app with the provider:App.tsx3Send events
OptionalusePostHog hook:Component.tsx4Next steps
RecommendedResource Description Capturing events Learn how to capture custom events beyond autocapture Identifying users Associate events with specific users Creating insights Build trends, funnels, and retention charts Group analytics Track events at the company or account level