/** * the default piwikTracker automatically assigns a visitor id * we want to rely on the cookie id only for frontend visitors */ public function __construct($idSite, $apiUrl = false) { parent::__construct($idSite, $apiUrl); if (Mage::getDesign()->getArea() == 'frontend') { $this->visitorId = false; } }