Switch from apiKey+options pattern to explicit posthog.init() before render, then pass client instance to PostHogProvider. This is more reliable and matches the PostHog SDK docs' recommended client pattern. Enables autocapture and pageview tracking per PostHog defaults. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>