analytics

Integrate analytics standards into React Native/Expo projects with Firebase, PostHog, or Amplitude.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/anicca-labs/claude --skill analytics-anicca-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analytics
Source: https://github.com/anicca-labs/claude/tree/main/plugins/expo-rn-plugin/skills/analytics
Command: npx skills add https://github.com/anicca-labs/claude --skill analytics-anicca-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @react-native-firebase/analytics, posthog-react-native, @amplitude/analytics-react-native, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of analytics standards for React Native/Expo projects, streamlining event naming, user identification, and screen tracking while adhering to privacy rules.

Core Features & Use Cases

  • Analytics Configuration: Offers configurable analytics solutions with Firebase Analytics as the default, and support for PostHog and Amplitude.
  • Event Naming: Standardizes event naming conventions for better tracking and analysis.
  • Screen Tracking: Automates screen tracking using the Expo Router navigation state.
  • User Identification: Provides methods for user identification and sign-out processes.
  • Privacy Rules: Ensures compliance with privacy rules by preventing the logging of personal identifiable information (PII) and sensitive data.

Quick Start

Apply the analytics standards to your React Native/Expo project by following the instructions in the SKILL.md file.

Frequently Asked Questions about analytics

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

FAQPage Schema
How do I set up event tracking in React Native with Expo Router?

Analytics configuration for React Native supports Firebase Analytics as the default provider, with alternative support for PostHog and Amplitude. It uses modular API calls that provide flexibility and provider-switching capabilities across these platforms.

How do I handle user identification and sign-out in React Native analytics?

User identification in React Native analytics is handled through provided methods for identifying users and managing sign-out processes. These methods integrate with your chosen analytics provider while maintaining privacy compliance.

Does this analytics approach prevent logging personal identifiable information in React Native?

Yes, this analytics approach prevents logging personal identifiable information (PII) and sensitive data in React Native. It ensures compliance with privacy rules by standardizing event naming and restricting tracked data.

Can I switch between Firebase Analytics and PostHog in a React Native project?

Yes, you can switch between Firebase Analytics and PostHog in a React Native project. The implementation uses modular API calls designed for flexibility, enabling provider-switching capabilities without rewriting your tracking logic.

What is the best way to standardize event naming conventions for React Native analytics?

The best way to standardize event naming conventions for React Native analytics is to apply predefined standards that streamline tracking and analysis. This approach enforces consistent naming across your application for better data aggregation.