tag

feature-flags

79 indexed skills · max 10 per page

skills (79)

logs-nextjs

PostHog/skills · PostHog

0

### PostHog Logging for Next.js - Integrate PostHog log ingestion into Next.js applications using the OpenTelemetry protocol and OTLP exporters. - Utilize environment variables for all PostHog keys and endpoints to ensure security and avoid hardcoding sensitive data. - Implement structured logging with key-value properties and initialize via instrumentation.ts for optimal framework compatibility.

integration-astro-static

PostHog/skills · PostHog

0

### PostHog Integration for Static Astro - Initialize PostHog by creating a reusable posthog.astro component and importing it into your site's main layout. - Use the is:inline directive on script tags and prefix client-side environment variables with PUBLIC_ to ensure proper functionality. - Identify users during authentication events and maintain session correlation by passing distinct IDs via custom request headers.

feature-flags-dotnet

PostHog/skills · PostHog

0

### feature-flags-dotnet Overview - PostHog feature flags for .NET applications - This skill helps you add PostHog feature flags to .NET applications. - `references/dotnet.md` - .net feature flags installation - docs

integration-flask

PostHog/skills · PostHog

0

### PostHog Flask Integration - Initialize the Posthog client globally in create_app() using the instance-based constructor with enable_exception_autocapture=True. - Use posthog_client.set() to manage person properties and ensure atexit.register() is used to flush events before application shutdown. - Protect user privacy by never including PII in capture() event properties; use identify() patterns for user-specific data instead.

logs-datadog

PostHog/skills · PostHog

0

### PostHog Log Integration for Datadog - Configure OTLP exporters to send logs to PostHog's ingest endpoint using the OpenTelemetry protocol. - Use environment variables for all PostHog keys and endpoints to ensure security and avoid hardcoding sensitive credentials. - Implement structured logging with key-value properties instead of plain text to improve searchability and data analysis.

integration-expo

PostHog/skills · PostHog

0

### PostHog Expo Integration - Use expo-constants to securely manage PostHog project tokens and host URLs via app.config.js instead of hardcoding values. - Install posthog-react-native and the required react-native-svg peer dependency to enable analytics and survey features. - Wrap the application with PostHogProvider and implement manual screen tracking within your router or navigation layout files.

integration-angular

PostHog/skills · PostHog

0

### PostHog Integration for Angular - Create a singleton PosthogService using inject() to wrap the SDK and manage analytics across standalone components. - Store PostHog credentials in environment.ts files and avoid hardcoding keys directly into the application source code. - Identify users during authentication and pass session headers to maintain data correlation between frontend and backend services.

llm-analytics-setup

PostHog/skills · PostHog

0

### PostHog LLM Analytics Integration - Integrate PostHog analytics into any LLM application using provider-specific guides or the manual capture fallback for custom setups. - Capture essential metrics including input/output tokens, model names, latency, and costs while ensuring PII is never sent in events. - Use the instance-based Posthog() constructor, enable exception autocapture, and call shutdown() to ensure all events are flushed.

integration-python

PostHog/skills · PostHog

0

### PostHog Python Integration - Install the posthog package and initialize the Posthog() class with enable_exception_autocapture=True for automatic error tracking. - Use environment variables for API keys and register posthog_client.shutdown with atexit to ensure all events are flushed on exit. - Identify users via set() for person properties and never include PII like emails or names within capture() event properties.

integration-android

PostHog/skills · PostHog

0

### PostHog Android Integration - Initialize PostHog in the Application class onCreate method using environment variables for keys to ensure secure, early configuration. - Follow the provided example project patterns and ensure every activity includes an android:label for accurate screen view tracking. - Identify users during login and signup, passing session and distinct ID headers to maintain correlation across frontend and backend.

prevpage 4 / 8next