Hay everyone, i try to use the php tracking api, as i can´t use javascript or the img tracking.
I have try everything but i can´t get it to track and i have no clue why actully this is my settings i have in the php file
I have try everything but i can´t get it to track and i have no clue why actully this is my settings i have in the php file
// Load Piwik Tracker require_once '/home/whiskey/www/piwik/libs/PiwikTracker/PiwikTracker.php'; PiwikTracker::$URL = 'https://piwik.site.se/'; // Set the URL path to your Piwik Installation $PiwikTacker = new PiwikTracker('1', 'https://piwik.site.se'); // Auth to allow for more API functions $PiwikTacker ->setTokenAuth('code'); // Set referrer (if applicable) $PiwikTacker ->setUrl($_SERVER['HTTP_REFERER']); // Set correct IP (Should be users, not the web server issuing the request) $PiwikTacker ->setIp($_SERVER['REMOTE_ADDR']);