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.
logs-nodejs
PostHog/skills · PostHog
### PostHog Node.js Log Integration - Configure OpenTelemetry OTLP exporters to send log data directly to the PostHog ingestion endpoint. - Use environment variables for all sensitive configuration, including PostHog keys and OTLP endpoints. - Implement structured logging with key-value properties to enhance searchability and analysis within the PostHog platform.
omnibus-instrument-logs
PostHog/skills · PostHog
### omnibus-instrument-logs Overview - >- - Use this skill to add PostHog log capture for new or changed code. Use it after implementing features or reviewing PRs to ensure meaningful - Supported platforms: Next.js, Node.js, Python, Go, Java, Datadog, and any language via OpenTelemetry.
integration-react-react-router-7-framework
PostHog/skills · PostHog
### PostHog Integration for React Router v7 - Follow the four-step setup workflow to integrate PostHog analytics into React Router v7 Framework mode applications. - Use environment variables for API keys and implement analytics capture directly within event handlers rather than useEffect hooks. - Identify users during authentication and maintain session correlation by passing distinct IDs via headers for cross-boundary tracking.
integration-vue-3
PostHog/skills · PostHog
### PostHog Vue 3 Integration - Follow the four-step setup workflow to initialize PostHog analytics within your Vue 3 application. - Use environment variables for API keys and maintain consistency by following the provided example project patterns. - Identify users during authentication events and use specific headers to correlate client-side sessions with backend data.
integration-django
PostHog/skills · PostHog
### PostHog Django Integration - Install the posthog package and initialize the client in AppConfig.ready() using environment variables for API keys and host settings. - Add PosthogContextMiddleware to your Django middleware and use the instance-based Posthog() constructor with exception autocapture. - Use set() or identify_context() for user identification, ensuring PII is excluded from capture() event properties to maintain privacy.
integration-swift
PostHog/skills · PostHog
### PostHog Swift Integration - Configure PostHog using environment variables for project tokens and hosts, ensuring they are set within the Xcode scheme settings. - Add SPM dependencies by creating unique PBXBuildFile, XCSwiftPackageProductDependency, and XCRemoteSwiftPackageReference objects. - Enable outgoing network connections in macOS App Sandbox settings and use headers to maintain user correlation across client sessions.
feature-flags-java
PostHog/skills · PostHog
### PostHog Java Feature Flags - Install the PostHog Java library and integrate flag checks directly into existing application logic using the provided documentation. - Securely manage PostHog API keys using environment variables and prioritize server-side evaluation to prevent UI flickering. - Utilize available PostHog MCP tools to programmatically create, list, and update feature flags directly from your development environment.
integration-nextjs-pages-router
PostHog/skills · PostHog
### PostHog Integration for Next.js Pages Router - Initialize PostHog using environment variables and follow the provided example project patterns for consistent implementation. - Capture analytics events directly within user-triggered event handlers rather than using useEffect hooks for state-driven logic. - Identify users during login and signup, using specific headers to maintain correlation between frontend and backend sessions.
feature-flags-react-native
PostHog/skills · PostHog
### PostHog Feature Flags for React Native - Use useFeatureFlagEnabled or useFeatureFlagPayload hooks to manage flags while handling loading states and external synchronization. - Securely load POSTHOG_PROJECT_TOKEN and POSTHOG_HOST via environment variables using react-native-config to avoid hardcoding credentials. - Install react-native-svg as a peer dependency and wrap your application with PostHogProvider inside the NavigationContainer.