| Server IP : 213.186.33.4 / Your IP : 216.73.216.193 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awebpaca/piwik/misc/others/ |
Upload File : |
<?php
// Example file to demonstrate MatomoTracker.php
// See https://matomo.org/docs/tracking-api/
require_once '../../vendor/matomo/matomo-php-tracker/MatomoTracker.php';
MatomoTracker::$URL = 'http://localhost/trunk/';
$matomoTracker = new MatomoTracker($idSite = 1);
// You can manually set the Visitor details (resolution, time, plugins)
// See all other ->set* functions available in the MatomoTracker class
$matomoTracker->setResolution(1600, 1400);
// Sends Tracker request via http
$matomoTracker->doTrackPageView('Document title of current page view');
// You can also track Goal conversions
$matomoTracker->doTrackGoal($idGoal = 1, $revenue = 42);
echo 'done';