Learn how to integrate analytics with your Muta placements
Muta provides a flexible event system that works with any analytics provider (Mixpanel, AppsFlyer, Amplitude, Firebase, etc.). Events are emitted during key user interactions, allowing you to track and analyze your placement performance.
{ type: 'flow_started', timestamp: number, // Unix timestamp in ms placementId: string, // ID of the placement flowName?: string, // Name of the flow (if configured) totalScreens: number // Total number of screens in flow}
Emitted when a user views a new screen in the flow.
Copy
{ type: 'screen_viewed', timestamp: number, placementId: string, flowName?: string, screenIndex: number, // Zero-based index of current screen totalScreens: number, // Total number of screens in flow screenName?: string // Name of the screen (if configured)}
Emitted when a user successfully finishes the flow.
Copy
{ type: 'flow_completed', timestamp: number, // Unix timestamp in ms placementId: string, // ID of the placement flowName?: string, // Name of the flow (if configured) screenIndex: number, // Index of final screen totalScreens: number, // Total screens in flow screenName?: string // Name of final screen (if configured)}
Emitted when a user exits the flow before completion.
Copy
{ type: 'flow_abandoned', timestamp: number, placementId: string, flowName?: string, screenIndex: number, // Index of last viewed screen totalScreens: number, // Total screens in flow lastScreenIndex: number, // Index of last viewed screen screenName?: string // Name of last viewed screen}