You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?php/** * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */// PiwikTracker.php is now managed by composer. To prevent breaking existing// code, this file has been left as a redirect to its new location in the// vendor directory.if (!class_exists('PiwikTracker')) {
require_once __DIR__ . '/../../vendor/piwik/piwik-php-tracker/PiwikTracker.php';
}
if (PiwikTracker::VERSION !== 1) {
thrownewException("Expected PiwikTracker in libs/PiwikTracker/PiwikTracker.php to be version 1 for keeping backward compatibility.");
}
https://matomo.org/docs/tracking-api/#use-case-tracking-data-using-the-php-client: This page has a directlink to download the MatomoTracker.php -> http://demo.matomo.org/index.php?module=SitesManager&action=downloadPiwikTracker&idSite={$IDSITE}&piwikUrl=http://piwik.example.org/
But the file it downloads is not very helpful.
Instead it should link to https://raw.githubusercontent.com/matomo-org/matomo-php-tracker/master/PiwikTracker.php or https://github.com/matomo-org/matomo-php-tracker/releases/latest
(Or you could rework the Action if you really want to)
The text was updated successfully, but these errors were encountered: