Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. Matomo

Matomo

MITSwiftv7.8.0

A Swift SDK for sending app analytics from iOS, tvOS, and macOS apps to a Matomo server.

GitHubGitHub
403 stars170 forks0 contributors

What is Matomo?

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.

Target Audience

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.

Value Proposition

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.

Overview

Matomo iOS, tvOS and macOS SDK: a Matomo tracker written in Swift

Use Cases

Best For

  • Adding privacy-focused analytics to iOS apps
  • Self-hosting app analytics data on a Matomo server
  • Tracking custom events and user interactions in Swift applications
  • Implementing campaign and conversion tracking for mobile apps
  • Building analytics for tvOS or macOS applications
  • Migrating from Google Analytics for Firebase to an open-source alternative

Not Ideal For

  • Apps requiring instant, cloud-hosted analytics dashboards without server management
  • Teams with limited DevOps resources to maintain a self-hosted Matomo server
  • Projects needing guaranteed offline event persistence, as events are lost on app termination
  • Developers seeking out-of-the-box integration with other Firebase services like crash reporting

Pros & Cons

Pros

Privacy-First Analytics

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.

Comprehensive Tracking Suite

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.

Multi-Platform Native Support

Works across iOS, tvOS, and macOS with a single SDK, enabling consistent analytics collection for Apple ecosystem apps without platform-specific workarounds.

Flexible Integration Methods

Installable via CocoaPods, Carthage, or Swift Package Manager, accommodating various project setups and dependency management preferences in Swift and Objective-C.

Cons

Volatile Event Storage

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.

Self-Hosting Overhead

Requires setting up and maintaining a Matomo server instance, adding significant setup complexity and ongoing costs compared to turnkey cloud analytics services.

Limited Real-Time Dispatch

Default 30-second automatic dispatching intervals and manual control may delay analytics updates, making it less suitable for applications needing instant data visibility.

Open Source Alternative To

Matomo is an open-source alternative to the following products:

Mixpanel
Mixpanel

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.

Google Analytics for Firebase
Google Analytics for Firebase

A mobile analytics solution for Firebase that provides insights into app usage and user engagement for iOS and Android apps.

Amplitude
Amplitude

Amplitude is a product analytics platform that helps companies understand user behavior, track product metrics, and make data-driven decisions to improve digital products.

Frequently Asked Questions

Quick Stats

Stars403
Forks170
Contributors0
Open Issues13
Last commit3 months ago
CreatedSince 2012

Tags

#hacktoberfest#ios#matomo#self-hosted-analytics#tvos#mobile-analytics#privacy-focused#swift-sdk#macos#analytics

Built With

S
Swift

Included in

iOS51.7k
Auto-fetched 3 hours ago

Related Projects

SegmentSegment

The hassle-free way to integrate analytics into any iOS application.

Stars418
Forks336
Last commit1 year ago
BugsnagBugsnag

Error tracking with a free tier. Error reports include data on device, release, user, and allows arbitrary data

Stars0
Forks0
Last commit
MixpanelMixpanel

Product analytics and dashboards

Stars0
Forks0
Last commit
AptabaseAptabase

Open Source, Privacy-First and Simple Analytics for Swift Apps

Stars0
Forks0
Last commit
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub