PostHog Has More to Offer
We've covered PostHog's product analytics, A/B testing, and session replay. But two more features are easy to miss:
Error Tracking and Surveys.
Error Tracking — Connect Errors to Sessions
PostHog's Error Tracking automatically collects JavaScript errors from your frontend.
Setup is a one-line addition to your posthog-js init:
posthog.init('YOUR_KEY', {
...
capture_exceptions: true,
});
Unhandled JS errors will now flow into PostHog automatically. Add a React Error Boundary to capture caught exceptions as $exception events.
Error Tracking includes 100K exceptions per month for free. For indie devs and small sites, that's more than enough.

Why It Matters
Sentry is the go-to for error monitoring — but if you're already using PostHog, you don't need it. Everything lives in one dashboard: error lists, aggregations, and session replay integration.
You can ask:
- "What was the user doing right before this error?"
- "How many times is this error happening this month?"
- "Which browser/OS is most affected?"
All from PostHog.
Surveys — Ask Your Users Directly
PostHog Surveys lets you show on-site feedback forms without writing code. Just create a survey in the PostHog dashboard, and posthog-js handles the display.

How to Set It Up
- PostHog dashboard → Surveys → New Survey
- Choose question type (rating, multiple choice, open text)
- Set targeting conditions (URL, user properties, rollout %)
- Publish
That's it. The survey appears on your specified pages automatically.
The free tier includes 1,500 responses per month. More than enough for most small to medium sites.
Summary
PostHog's Error Tracking and Surveys let you skip additional tools and keep everything in one place.
- Error Tracking: One line of config, no Sentry needed.
- Surveys: No-code feedback forms for direct user insights.
Product analytics, A/B testing, session replay, error tracking, and surveys — all free up to 1M events/month. PostHog is the strongest all-in-one stack for indie developers right now.
Related: