Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
MixPanel event tracking
lib/mixpanel.ts
import { track, Events } from '@/lib/mixpanel'; // Predefined event track(Events.PAYWALL_VIEWED); // With properties track(Events.PURCHASE_COMPLETED, { product_id: 'monthly', price: 9.99, }); // Custom event track('feature_used', { feature: 'export' });
app_opened
onboarding_started
onboarding_completed
paywall_viewed
purchase_completed
snake_case