A Swift SDK for sending app analytics from iOS, tvOS, and macOS apps to a Matomo server.
MatomoTracker is an open-source SDK written in Swift that enables iOS, tvOS, and macOS app developers to send analytics data to a Matomo server. It solves the problem of relying on third-party analytics services by providing a self-hosted, privacy-focused alternative where developers retain full control over their data.
iOS, tvOS, and macOS app developers who need to integrate analytics into their applications while prioritizing data privacy and ownership. It is particularly suited for teams using or planning to use the Matomo analytics platform.
Developers choose MatomoTracker because it offers a comprehensive, native Swift SDK for the Matomo ecosystem, ensuring data stays in their control. It provides extensive tracking capabilities comparable to commercial services while being open-source and fully customizable.
Matomo iOS, tvOS and macOS SDK: a Matomo tracker written in Swift
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports user opt-out via the isOptedOut property and manual event dispatching, giving developers full control over data transmission and aligning with GDPR and other privacy regulations.
Tracks page views, custom events, internal searches, goals, orders, and content interactions, matching the feature set of commercial analytics platforms as detailed in the README.
Works across iOS, tvOS, and macOS with a single SDK, enabling consistent analytics collection for Apple ecosystem apps without platform-specific workarounds.
Installable via CocoaPods, Carthage, or Swift Package Manager, accommodating various project setups and dependency management preferences in Swift and Objective-C.
Events are only stored in memory and lost if the app terminates before dispatch, as acknowledged in issue #137, requiring an experimental UserDefaultsQueue for persistence.
Requires setting up and maintaining a Matomo server instance, adding significant setup complexity and ongoing costs compared to turnkey cloud analytics services.
Default 30-second automatic dispatching intervals and manual control may delay analytics updates, making it less suitable for applications needing instant data visibility.
Matomo is an open-source alternative to the following products:
Mixpanel is an analytics platform that helps companies track user interactions with their digital products, providing insights into user behavior through event-based data collection.
A mobile analytics solution for Firebase that provides insights into app usage and user engagement for iOS and Android apps.
Amplitude is a product analytics platform that helps companies understand user behavior, track product metrics, and make data-driven decisions to improve digital products.