A library that brings Mixpanel analytics to QML-based applications, enabling event tracking and user analytics in Qt mobile apps.
Motivation
When building Sailfish OS and other Qt-based mobile apps, I needed analytics to understand user behavior. Mixpanel was a popular choice, but there was no QML-native integration. This library fills that gap.
Features
- Native QML API for Mixpanel
- Event tracking
- User identification
- Property-based segmentation support
- Asynchronous, non-blocking design
Usage
The library provides a clean QML interface that integrates naturally with Qt Quick applications:
Mixpanel {
token: "your-mixpanel-token"
}
// Track events
mixpanel.track("Button Clicked", {"button_name": "submit"})