analytics▌
99 indexed skills · max 10 per page
omnibus-instrument-product-analytics
PostHog/skills · PostHog
### PostHog Product Analytics Integration - Detects the project framework and installs the appropriate PostHog SDK while maintaining existing code structures. - Implements targeted event tracking for key user actions, conversion funnels, and server-side operations using environment variables. - Configures user identification during authentication flows and adds exception tracking to monitor critical application errors.
integration-react-native
PostHog/skills · PostHog
### PostHog React Native Integration - Install posthog-react-native and react-native-svg, then wrap your app with PostHogProvider inside the NavigationContainer. - Use react-native-config to securely load POSTHOG_PROJECT_TOKEN and POSTHOG_HOST from environment variables at build time. - Identify users during login and signup, using custom headers to maintain session correlation between frontend and backend.
feature-flags-php
PostHog/skills · PostHog
### PostHog PHP Feature Flags - Install the posthog/posthog-php SDK and initialize it once using PostHog::init() with environment variables for API keys. - Implement server-side flag checks to prevent UI flickering, defaulting to boolean flags unless multivariate logic is required. - Use PostHog MCP tools to manage flags directly and ensure all SDK methods utilize associative arrays for distinct IDs and properties.
integration-react-react-router-7-declarative
PostHog/skills · PostHog
### PostHog Integration for React Router v7 - Implement PostHog analytics using the declarative pattern by following the four-step setup workflow and referencing the example project. - Use environment variables for API keys and trigger analytics capture directly within event handlers rather than inside useEffect hooks. - Identify users during authentication and maintain session correlation by passing distinct IDs via headers for backend-integrated flows.
logs-python
PostHog/skills · PostHog
### logs-python Overview - PostHog logs for Python - This skill helps you add PostHog log ingestion to Python applications. - `references/python.md` - Python logs installation - docs
integration-nuxt-4
PostHog/skills · PostHog
### PostHog Integration for Nuxt 4 - Follow the four-step setup workflow to integrate PostHog analytics into your Nuxt 4 application. - Use environment variables for all PostHog keys and follow the provided example project patterns for implementation. - Identify users during authentication and use specific headers to maintain session correlation between frontend and backend.
omnibus-instrument-error-tracking
PostHog/skills · PostHog
### omnibus-instrument-error-tracking Overview - >- - Use this skill to add PostHog error tracking that captures and monitors exceptions in your application. Use it after implementing features o - Supported platforms: React, Next.js, Web (JavaScript), Node.js, Python, Ruby, Ruby on Rails, Go, Angular, Svelte, Nuxt, React Native, Flutte
integration-nextjs-app-router
PostHog/skills · PostHog
### PostHog Integration for Next.js App Router - Initialize PostHog using instrumentation-client.ts and secure all API keys using environment variables. - Trigger analytics events directly within user action handlers rather than using useEffect hooks. - Identify users during authentication and maintain session correlation by passing distinct IDs via custom request headers.
integration-ruby
PostHog/skills · PostHog
### PostHog Ruby Integration - Install the posthog-ruby gem and initialize the client using environment variables for API keys and host configuration. - Use client.capture and client.identify with hash arguments, but use positional arguments for client.capture_exception. - Ensure client.shutdown is called before script exit to prevent event loss, ideally within an ensure block for proper cleanup.
logs-go
PostHog/skills · PostHog
### PostHog Go Logging Integration - Integrate PostHog log ingestion into Go applications using the OpenTelemetry protocol and OTLP exporters. - Use environment variables for PostHog keys and endpoints; never hardcode sensitive configuration data. - Implement structured logging with key-value properties and export logs alongside existing systems without restructuring code.