integration-android

Official

Add PostHog analytics to Android apps.

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Android apps often lack a unified analytics layer, making it difficult to understand user flows, identify issues, and measure health metrics. This Skill provides a streamlined path to integrate PostHog analytics, identify users, track events, and monitor errors within Android projects.

Core Features & Use Cases

  • Seamless initialization: Initialize PostHog in Application.onCreate() with safe config and environment-based keys.
  • User identification & events: Identify users on login and capture meaningful events to tie user actions to profiles.
  • Error tracking & screen views: Enable automatic error tracking and screen view analytics, including session replay enhancements when enabled.

Quick Start

Initialize PostHog early in your Application.onCreate() and configure it with your API key and host, following the example code in this skill.

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-android
Download link: https://github.com/PostHog/skills/archive/main.zip#integration-android

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.