I just installed Piwik on a local server - it’s Centos 5.5 and Apache 2.2.14, and, it does not have mod_security installed. All of the requirements, during the installation, were met - as indicated by green checkmarks. I was testing this with a Wordpress site. I’ve seen some people be “funny” about using their actual domain names in these posts and, well, I just don’t give a darn - I pasted the following into the footer.php file:
<?php wp_footer(); ?>
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.webputzer.com/analytics/" : "http://www.webputzer.com/analytics/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://www.webputzer.com/analytics/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->
</body>
Piwik immediately began logging hits from a local computer but ignores hits from anything outside my LAN. I have direct access to my logs (I’ve actually installed this on two domains) and my logs indicate traffic other than myself. This is doing the same thing on both domains…The obvious question: what’s wrong?
Thanks for any input.