I have installed piwik and would like to use it offline with xampp

I’m testing out a website I created and I’ve pasted the java code in all my pages but it doesn’t seem to work?

edit:hosting it as localhost with apache and mysql

GOT IT TO WORK! This is very good!