A simple html page


(forpas) #1

Hello,

I’ve installed piwik on an internal Server with IP 10.10.88.148
and created a sample file.
I do not get any record in the MySql database, shouldn’t I?

The Webpage is inside /var/www where htdocs of apache resides.
piwik is in /var/www/piwik

Thanks for any help

Code of the page follows

<html>
<head>
</head>
<body>
Hello

<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ?
"10.10.88.148/piwik/" : "10.10.88.148/piwik/");
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", 2);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="10.10.88.148/piwik/piwik.php?idsite=2"
style="border:0" alt=""/></p></noscript>
<!-- End Piwik Tag -->

</body>
</html>