Skip the setup.
Start tracking now.
PostHog is a great all-in-one platform, but you still need to instrument every event. Happenstance tracks everything automatically.
Happenstance
Zero-config
- 1 Add one script tag to your site
- 2 Done. Events are tracked automatically.
PostHog
Traditional setup
- 1 Create account and project
- 2 Install posthog-js SDK
- 3 Initialize with your project API key
- 4 Add posthog.capture() calls for events
- 5 Define event properties
- 6 Set up user identification
- 7 Configure feature flags (optional)
- 8 Deploy and verify in dashboard
PostHog has built an impressive suite of product tools - analytics, session replay, feature flags, and A/B testing all in one platform. But like traditional analytics, every event still needs to be manually instrumented. Happenstance takes a fundamentally different approach: automatic discovery means you're tracking from the moment you add the script.
Feature Comparison
| Feature | Happenstance | PostHog |
|---|---|---|
| Zero-config setup | ||
| Automatic event discovery | ||
| No code changes required | ||
| Event tracking | ||
| Session replay | ||
| Feature flags | ||
| A/B testing | ||
| User analytics | ||
| Self-hosted option | ||
| Free tier | 10k events/mo | 1M events/mo |
| No cookies |
Why teams switch
Teams appreciate PostHog's breadth but find themselves spending significant engineering time on instrumentation. Every new button, form, or interaction needs a posthog.capture() call. With Happenstance, your tracking automatically adapts as your UI evolves - no code changes, no maintenance burden.
How to migrate from PostHog
- 1 Add the Happenstance script tag to your site — it starts tracking immediately.
- 2 Compare the automatically discovered events with your PostHog tracking plan.
- 3 Customize event names in the Happenstance dashboard to match your existing naming.
- 4 Once you're confident in the data, remove the PostHog SDK from your codebase.
- 5 Delete the posthog.capture() calls scattered throughout your code.
Who should use what
Choose Happenstance if...
You want instant analytics without writing instrumentation code. Ideal for startups and small teams who'd rather ship features than maintain tracking.
Choose PostHog if...
You need session replay, feature flags, or A/B testing as part of your analytics stack. PostHog's all-in-one approach is great for larger teams with dedicated engineers.
Integration Code
Happenstance (complete setup)
<script src="https://happenstance.click/v1/track.js"></script>PostHog (just initialization)
import posthog from 'posthog-js';
posthog.init('YOUR_API_KEY');
posthog.identify(userId);
posthog.capture('button_clicked', {
button_name: 'Add to Cart',
page: '/products',
});PostHog is ideal if you need session replay, feature flags, and A/B testing alongside analytics. Happenstance is for teams who want instant, zero-maintenance event tracking without the instrumentation overhead.
Start tracking in 30 seconds
No signup. No configuration. Just add one script tag and see your analytics instantly.
Get your script tag