Session Replay Portable — Posthog

Session Replay Portable — Posthog

Playback UI

This implementation provides:

: Generate a public link to share a specific replay with anyone outside your organization. posthog session replay portable

import posthog from 'posthog-js' posthog.init(' ', api_host: 'https://us.i.posthog.com', // or your self-hosted URL // Disable everything except session replay autocapture: false, // Disables automatic click/event tracking capture_pageview: false, // Disables automatic pageview events capture_performance: false, // Disables performance metric gathering session_recording: sessionRecordingVersion: 'v2', recordConsoleLogs: true, // Optional: good for bug tracking ) Use code with caution. Copied to clipboard Playback UI This implementation provides: : Generate a