Skip to content

acte-technology/matomophptracker-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Server side Matomo tracker using php class PiwikTracker: https://matomo.org/docs/tracking-api/

  • Read advantages and inconvenients of a server side tracking system on http://matomo.org
  • Tracking is automatically disabled when backend user is connected.
  • If Rainlab.User is installed, user id will be passed to Matomo.
  • API tracker middleware

Settings

Set url, siteid and token from your matomo analytics server.

Usage

  • Simply add ServerSide component to your layout or page.

To know more about PHP Tracker PHP class:

Api middleware

  • Track API calls with ApiTracker middleware
// routes.php exemple

Route::group([
    'middleware' => 'Acte\MatomoPhpTracker\Middlewares\ApiTracker'
  ], function () {

    Route::get('/api/test', function(){ return Response::json(['success' => true]); });

  }
);

Bugs/Improvement

Please report and post improvement suggestions here: https://github.com/acte-solutions/matomophptracker-plugin/issues.

About

OctoberCMS Plugin. Tracking using Matomo PHP class (Piwik)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages