diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-01-28 00:20:43 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2020-01-28 00:20:43 +0300 |
commit | 907a3d6f78693bcaadde7460fe0c2224161de63b (patch) | |
tree | 1c87dd15286dca1afc9fc6b20ca8ca80ca3cb218 /misc/others/tracker_simpleImageTracker.php | |
parent | f734983e24af1dd2c1b37208bc18d6dea4114815 (diff) |
Use rebranded components (#15253)
Diffstat (limited to 'misc/others/tracker_simpleImageTracker.php')
-rw-r--r-- | misc/others/tracker_simpleImageTracker.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/others/tracker_simpleImageTracker.php b/misc/others/tracker_simpleImageTracker.php index bf4ac796c5..aa81319560 100644 --- a/misc/others/tracker_simpleImageTracker.php +++ b/misc/others/tracker_simpleImageTracker.php @@ -1,9 +1,9 @@ <?php -// -- Piwik Tracking API init -- -require_once "../../libs/PiwikTracker/PiwikTracker.php"; -PiwikTracker::$URL = 'http://localhost/matomo-master/'; +// -- Matomo Tracking API init -- +require_once '../../vendor/matomo/matomo-php-tracker/MatomoTracker.php'; +MatomoTracker::$URL = 'http://localhost/matomo-master/'; // Example 1: Tracks a pageview for Website id = {$IDSITE} -$trackingURL = Piwik_getUrlTrackPageView($idSite = 16, $customTitle = 'This title will appear in the report Actions > Page titles'); +$trackingURL = Matomo_getUrlTrackPageView($idSite = 16, $customTitle = 'This title will appear in the report Actions > Page titles'); ?> <html> |