In config.php: addPlugin('PiwikAnalytics', array('piwikroot' => 'stats.smithfam.info/', 'piwikId' => '4')); Then in the source: Obviously "//stats.smithfam.info/piwik.js" is not going to work. What am I doing wrong?