Skip to content

fix: stop claiming error tracking is configured in JS web outro#720

Draft
posthog[bot] wants to merge 1 commit into
mainfrom
posthog-code/fix-js-web-outro-error-tracking-claim
Draft

fix: stop claiming error tracking is configured in JS web outro#720
posthog[bot] wants to merge 1 commit into
mainfrom
posthog-code/fix-js-web-outro-error-tracking-claim

Conversation

@posthog

@posthog posthog Bot commented Jun 23, 2026

Copy link
Copy Markdown

Problem

Developers who run npx @posthog/wizard on a plain JavaScript (Web) project get
product analytics, but the javascript-web outro tells them it "Configured
autocapture, error tracking, and event capture". The default
posthog-integration flow only installs an integration-category skill and
explicitly excludes error-tracking skills, so client-side exception capture is
never wired up. The result is an over-promise: users expect errors to show up in
PostHog, see nothing, and churn toward Sentry — a public churn signal where a
developer twice questioned what PostHog is even for. The default flow is
high-volume (25,547 setup wizard finished events in 30 days), so this is a
broad onboarding-trust issue, not a one-off.

Why: the wizard should not claim it set up a product it didn't. This removes
the false promise that drives the churn-to-Sentry confusion.

Changes

Correct the javascript-web outro copy to reflect what posthog-js actually does
by default: Configured autocapture and event capture (dropping the
"error tracking" claim).

Scope note: this PR only fixes the inaccurate copy — the one piece fully ownable
and verifiable in this repo. Actually enabling client-side error tracking /
session replay in the default flow is a larger, deliberately out-of-scope change:
the SDK init code is generated by context-mill
integration skills, session_recording_opt_in / autocapture_exceptions_opt_in
default off server-side on new projects, and offering these as first-class
post-setup add-ons would mean extending the AdditionalFeature queue (today only
llm) with new TUI opt-in screens. That gap is real but spans repos and is a
product decision; this change just stops the wizard from over-promising in the
meantime.

Test plan

  • pnpm build && pnpm test — 1054 tests pass, snapshots unchanged.
  • pnpm fix — clean.
  • Only javascript-web made the client-side "error tracking" claim; Python/Rails
    server-SDK outros legitimately auto-capture exceptions and were left untouched.

Created with PostHog Code from an inbox report.

The default `posthog-integration` flow only installs an `integration`-category
skill (error-tracking skills are explicitly excluded), so client-side exception
capture is never wired up for plain JavaScript (Web) projects. The outro still
told users it "Configured autocapture, error tracking, and event capture",
over-promising a product the default flow doesn't set up.

Correct the copy to reflect what posthog-js actually does by default
(autocapture + event capture).

Generated-By: PostHog Code
Task-Id: 266ea7fd-4170-47f1-991e-479e7c587e55
@github-actions

Copy link
Copy Markdown

🧙 Wizard CI

Run the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands:

Test all apps:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci basic-integration
  • /wizard-ci error-tracking-upload-source-maps
  • /wizard-ci misc
  • /wizard-ci revenue

Test an individual app:

  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
Show more apps
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /wizard-ci basic-integration/javascript-node
  • /wizard-ci basic-integration/javascript-web
  • /wizard-ci basic-integration/laravel
  • /wizard-ci basic-integration/next-js
  • /wizard-ci basic-integration/nuxt
  • /wizard-ci basic-integration/python
  • /wizard-ci basic-integration/rails
  • /wizard-ci basic-integration/react-native
  • /wizard-ci basic-integration/react-router
  • /wizard-ci basic-integration/sveltekit
  • /wizard-ci basic-integration/swift
  • /wizard-ci basic-integration/tanstack-router
  • /wizard-ci basic-integration/tanstack-start
  • /wizard-ci basic-integration/vue
  • /wizard-ci error-tracking-upload-source-maps/android
  • /wizard-ci error-tracking-upload-source-maps/cicd-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-nested-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-single-stage-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-gitlab-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-monorepo-pnpm-node-react
  • /wizard-ci error-tracking-upload-source-maps/cicd-monorepo-raw-node-react
  • /wizard-ci error-tracking-upload-source-maps/cicd-ssh-vps-node-raw
  • /wizard-ci error-tracking-upload-source-maps/flutter
  • /wizard-ci error-tracking-upload-source-maps/ios
  • /wizard-ci error-tracking-upload-source-maps/next
  • /wizard-ci error-tracking-upload-source-maps/next-no-posthog
  • /wizard-ci error-tracking-upload-source-maps/node-raw
  • /wizard-ci error-tracking-upload-source-maps/node-rollup
  • /wizard-ci error-tracking-upload-source-maps/node-rollup-typescript-plugin
  • /wizard-ci error-tracking-upload-source-maps/node-webpack
  • /wizard-ci error-tracking-upload-source-maps/nuxt-3-6
  • /wizard-ci error-tracking-upload-source-maps/nuxt-4-3
  • /wizard-ci error-tracking-upload-source-maps/react-native
  • /wizard-ci error-tracking-upload-source-maps/react-vite
  • /wizard-ci error-tracking-upload-source-maps/rust
  • /wizard-ci misc/quack-quack
  • /wizard-ci revenue/stripe

Results will be posted here when complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants