integration-react-native

Official

Add PostHog analytics to React Native apps.

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

React Native developers often struggle to implement consistent, maintainable PostHog analytics across mobile platforms. This skill provides a guided approach to configuring PostHog, tracking events, and identifying users in React Native apps.

Core Features & Use Cases

  • Environment-based configuration: Load PostHog project token and host from environment variables to avoid hardcoding keys.
  • Autocapture and manual screen tracking: Enable touch autocapture and inline screen tracking with React Navigation v7.
  • User identification and error tracking: Identify users on login and capture errors to correlate issues with user activity.
  • Reference implementations: Includes example reference files to guide integration patterns across the codebase.

Quick Start

Install and configure the PostHog provider in your React Native app to start capturing events and identify users.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: integration-react-native
Download link: https://github.com/PostHog/skills/archive/main.zip#integration-react-native

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.