Menu

1 / 2

Indie Dev Analytics — PostHog vs Mixpanel vs Self-Hosted Supabase

DEV Community·kanta13jp1·6 months ago
#ucBrZA6A
#supabase#flutter#webdev#indiedev#const
Reading 0:00
15s threshold

Indie Dev Analytics — PostHog vs Mixpanel vs Self-Hosted Supabase

You can't improve what you can't measure. Here's how to pick the right analytics stack for your indie app and implement it in Flutter.

Tool Comparison

Tool Free tier Self-host Indie-friendly

PostHog 1M events/month ◎ (OSS) ◎

Mixpanel 20K MT/month × ○

Firebase Analytics Unlimited × ◎

Self-hosted (Supabase) DB limit only ◎ ◎

PostHog Implementation (Recommended)

Open source, self-hostable, GDPR-friendly.

dependencies : posthog_flutter : ^4.0.0

Enter fullscreen mode

Exit fullscreen mode

await Posthog () . setup ( 'YOUR_API_KEY' , host: 'https://app.posthog.com' );

// Track event Posthog () . capture ( eventName: 'task_completed' , properties: { 'category' : category , 'duration_seconds' : duration }, );

// Identify user Posthog () . identify ( userId: user . id , userProperties: { 'plan' : user . plan , 'email' : user . email }, );

// Screen view Posthog () .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.