When I call:
require_once '/var/www/html/piwik/piwik.php';,
I get this output:
This resource is part of Piwik. Keep full control of your data with the leading free and open source digital analytics platform for web and mobile.
Why is this? Here is the rest of my code:
require_once '/var/www/html/piwik/piwik.php';
$t = new PiwikTracker($idSite = 1, 'http://localhost/piwik/');
$t->setCustomVariable(1,'Force IP',$_SERVER['REMOTE_ADDR']);
$t->doTrackPageView('Page title');
Am I calling the wrong tracking file for Piwik Tracker?
Any help greatly appreciated.