integration-react-native

Integrate Amplitude analytics into React Native apps using @amplitude/analytics-react-native.

28|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/amplitude/wizard --skill integration-react-native-amplitude
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: integration-react-native
Source: https://github.com/amplitude/wizard/tree/main/skills/integration/integration-react-native
Command: npx skills add https://github.com/amplitude/wizard --skill integration-react-native-amplitude

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

React Native apps often struggle to implement reliable analytics. This skill provides a guided approach to integrating Amplitude using @amplitude/analytics-react-native, covering initialization, user identification, and event tracking.

Core Features & Use Cases

  • Easy setup: initialize the Amplitude RN SDK with API key from configuration.
  • User identity & events: setUserId, identify, and track common user actions across screens.
  • Best practices: avoid sending PII in track calls; use identify for user properties.

Quick Start

Initialize Amplitude in your app startup and verify by sending a simple event.

Frequently Asked Questions about integration-react-native

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Amplitude analytics into a React Native app?

To integrate Amplitude analytics into a React Native app, initialize the official @amplitude/analytics-react-native SDK with your API key at app startup, then use it to track events and identify users across iOS and Android platforms.

What is the best way to track user identity in React Native analytics?

The best way to track user identity in React Native analytics is using the SDK's setUserId and identify functions, which safely manage user properties without exposing personally identifiable information in your event tracking calls.

Does the Amplitude React Native SDK support both iOS and Android?

Yes, the Amplitude React Native SDK supports both iOS and Android platforms, providing safe data handling and consistent event tracking initialization across both mobile operating systems.

How do I set up event tracking in React Native without sending PII?

To set up event tracking without sending PII, use the SDK to track common user actions across screens while reserving user-specific data for identify calls, preventing personally identifiable information from appearing in track events.

Why should I use identify instead of track for user properties in Amplitude?

You should use identify instead of track for user properties in Amplitude to follow best practices for safe data handling, ensuring sensitive user attributes are managed correctly rather than logged as raw event payloads.

What do I need to initialize Amplitude analytics in a React Native project?

To initialize Amplitude analytics in a React Native project, you need the official @amplitude/analytics-react-native SDK and your Amplitude API key from configuration to run the setup at app startup and verify with a simple event.