fix: use explicit PostHog client init for reliable tracking #113

Merged
chihlasm merged 1 commits from fix/posthog-react-provider into main 2026-03-16 23:25:17 +00:00
chihlasm commented 2026-03-16 23:24:48 +00:00 (Migrated from github.com)

Switches to explicit posthog.init() before render with client prop on PostHogProvider. Removes the defaults option that may not be recognized. Enables autocapture and pageview tracking.

🤖 Generated with Claude Code

Switches to explicit `posthog.init()` before render with `client` prop on PostHogProvider. Removes the `defaults` option that may not be recognized. Enables autocapture and pageview tracking. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
railway-app[bot] commented 2026-03-16 23:25:06 +00:00 (Migrated from github.com)

🚅 Deployed to the patherly-pr-113 environment in selfless-grace

Service Status Web Updated (UTC)
hopeful-liberation 🕒 Building (View Logs) Mar 16, 2026 at 11:25 pm
patherly 🕒 Building (View Logs) Mar 16, 2026 at 11:25 pm
<!-- railway-bot-comment-version=2 --> <!-- railway-project-id="22b9b58c-271b-42e5-a10e-6fdec8d00134" railway-project-name="selfless-grace" --> 🚅 Deployed to the [patherly-pr-113](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134?environmentId=ab9d0582-028b-427e-a2e0-035cd05b79fc) environment in **[selfless-grace](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134)** | **Service** | **Status** | **Web** | **Updated** (UTC) | | :--- | :--- | :--- | :--- | | hopeful-liberation | 🕒 Building ([View Logs](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134/service/e1db2ee3-d241-4f45-abe4-c9c5fdf483d5?id=53b3481d-a219-410e-8184-db4ed97faba0&environmentId=ab9d0582-028b-427e-a2e0-035cd05b79fc)) | | Mar 16, 2026 at 11:25 pm | | patherly | 🕒 Building ([View Logs](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134/service/95f556ff-5264-4116-a0c2-618a2fc53ba4?id=c7c4b9e2-6934-49d3-bcca-863640a6105c&environmentId=ab9d0582-028b-427e-a2e0-035cd05b79fc)) | | Mar 16, 2026 at 11:25 pm |
Sign in to join this conversation.