Modern Matomo tracking for React apps
Automatically track page views with built-in React Router integration
Track events with type-safe schema validation and IntelliSense support
Seamless page view tracking for Single Page Applications
Track user journeys with persistent user identification
Add custom dimensions to enhance your analytics data
Queue events when offline and sync when connection is restored
Built-in consent management for GDPR compliance
Comprehensive test suite ensuring reliability and stability
Works with React 17+, Next.js, Vite, and Webpack
Explore a fully functional example application that demonstrates all the features of react-matomo-kit. The Cat Clicker 3000 showcases real-world usage patterns including event tracking, user identification, custom dimensions, and consent management in an interactive and fun way.
Try the Example App