Vue Matomo

screenshot of Vue Matomo
vue

Vue plugin for Matomo Analytics

Overview

VueMatomo is an impressive plugin designed to integrate Matomo analytics seamlessly into Vue applications, compatible with both Vue 2.x and 3.x. This tool stands out by offering a robust solution for tracking user behavior while ensuring compliance with consent regulations. Its asynchronous loading capability enhances performance while minimizing potential disruptions during data collection.

Whether you're building a single-page application or managing external links, VueMatomo provides the versatility needed for modern analytics requirements. With features tailored specifically for developers, this plugin streamlines the process of implementing Matomo, ensuring that all necessary tracking is handled smoothly and efficiently.

Features

  • Compatibility: Works seamlessly with both Vue 2.x and 3.x, making it suitable for a variety of projects.
  • Asynchronous Loading: Loads matomo.js asynchronously, improving performance and user experience by preventing blocking during loading phases.
  • External Link Tracking: Automatically tracks external links after navigation events, ensuring that all interactions are captured accurately.
  • Route Ignoring: Provides options to ignore specific routes using route meta, allowing for tailored tracking setups.
  • Consent Management: Features built-in methods for managing user consent regarding tracking, which helps comply with privacy regulations.
  • Cookie Consent Handling: Offers options for managing cookie consent, enabling tracking without the need for consent banners if configured appropriately.
  • Bundled Output: Easily bundles JavaScript and CSS into the dist folder, simplifying deployment processes.
  • License: Released under the MIT license, ensuring flexibility for developers to use and modify the plugin as needed.
vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.