Hi,
I’m trying to use below sample but it does not seem to work:
<?php // -- Piwik Tracking API init -- require_once "PiwikTracker.php"; PiwikTracker::$URL = 'http://myurl'; $piwikTracker = new PiwikTracker( $idSite = 1 ); // You can manually set the visitor details (resolution, time, plugins, etc.) // See all other ->set* functions available in the PiwikTracker.php file $piwikTracker->setResolution(1600, 1400); // Sends Tracker request via http $piwikTracker->doTrackPageView('Document title of current page view'); // You can also track Goal conversions $piwikTracker->doTrackGoal($idGoal = 2, $revenue = 42); ?>