Matomo Tracking

Stop giving away valueable analytics data and keep it to yourself. This add-on will install page tracking with Matomo.

  • No cookie consents
  • No more complicated javascripts or failures
  • No middle man transportations (server to client to server), but server to server directly
  • Use PHP for everything, wohoo!
  • The data remains in your possession


You can easily create your own custom tracking events with one command in PHP. Here is an example:

    matomo::doTrackEvent(
      $category, // (string) — The Event Category (Videos, Music, Games...)
      $action,  // (string) — The Event's Action (Play, Pause, Duration, Add Playlist, Downloaded, Clicked...)
      $name,    // (string|bool) — (optional) The Event's object Name (a particular Movie name, or Song name, or File name...)
      $value    // (float|bool) — (optional) The Event's value
    );


For a complete list of functions that can be used, refer to the documentation:
https://developer.matomo.org/api-reference/PHP-Matomo-Tracker

This implementation supports bulk tracking (optional). Bulk tracking queues all tracking events and send them in one single request before script end.

Don't have Matomo yet? Matomo is an open source replacement for Google Analytics and can be installed using Softaculous.

External Support Link

https://www.matomo.org/


Tags: tracking, analytics, privacy data

Downloads

Version 2022-08-26 | Uploaded 26 Aug 2022 by litecart

Compatible Versions: 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.5
The package may be compatible with more versions than listed. Contact the author for more information.

Public Domain

This add-on is courtesy of Public Domain.

This add-on is being offered without any support or conditions of use. Anyone can publish new updates to it.

You are allowed to remix and redistribute this add-on without attributing the original author.

Published by litecart

Support Forum

Topic Last Post
How to track ecommerce (setEcommerc...
by megamiska
Mar 18 2024 09:12 AM
by megamiska
Matomo add-on compatibility to 2.5....
by blackyfreud
May 2 2023 11:47 AM
by blackyfreud