Quickstart
Install the React Native SDK, initialize it once at app start, and send your first event.
1. Install
Install via npm or yarn alongside the React Native peer dependency. Native iOS and Android components are linked automatically.
⚠ TODO — Engineering
Paste the install command(s) for the React Native SDK. Include the package manager (CocoaPods, SPM, Gradle, npm, yarn, etc.) and the latest version pin.
2. Initialize
Initialize the SDK in your root component's useEffect or in index.js, before any tracking calls.
⚠ TODO — Engineering
Paste the initialization snippet. Include the API key parameter name, region/endpoint parameter, and any required runtime callbacks. If the SDK supports multiple languages on this runtime (Swift+Obj-C, Kotlin+Java, JS+TS), wrap each in a
<div class='tab'> — the tab switcher in js/docs.js handles the rest.3. Identify a user
⚠ TODO — Engineering
Paste a user-identify snippet showing how to attach a user identifier and basic user properties (email, plan, locale). Note any privacy considerations (PII handling, hashed IDs).
4. Send your first event
⚠ TODO — Engineering
Paste an event-tracking snippet. Use a realistic example event (e.g.
app_opened or checkout_started) with 1-2 properties.5. Verify
⚠ TODO — Engineering
Tell the developer how to verify the React Native SDK is connected — link to the live-events view in the panel, mention the typical 1-2 second latency, and what 'success' looks like.
Next steps
- Full API reference — every public method.
- Server-side events — for backend integrations.
- Concepts — Sense / Decide / Act / Learn.