Ok, I am pretty good with wordpress as far as changing css and making a theme very unique to me.
I’m using the delegate theme by woothemes and I can’t for the life of me figure out how to get this running right.
I have it installed correctly and tried to put the java in my footer file (which in this theme is footer.php not wp_footer.php)
I’ve tried putting the java script into the footer.php, but when I login to piwik on my server it shows no visits. I know for a fact I’m getting visits.
My server specs are in the attachment.
I really want to get this to work as it seems much better than google webmaster tools.
Have you checked the source code of your Wordpress page to make sure the footer file is being imported correctly and you can see the Piwik Javascript tracking code in the source? That would be the first step I’d take in tracking this.
Sorry, I meant that you might want to check source code of the page in your web browser, not the PHP source code. Just to make sure Wordpress is actually pulling that footer PHP file. It’s tricky with CMS systems sometimes to know what exact file is being used where.
There should be a Piwik Plugin for Wordpress anyways that might work better than manually adding it to the PHP files.
As another step to debug, you can do a couple other things:
-Check that the JS file is being loaded (In Opera it’s really easy, just press F4 and scroll down until you get to the “Scripts” section, then you should be able to see a piwik.js script there. In Chrome, right click on page->inspect Element->Scripts tab->click on the dropdown and see if there is piwik.js)
-Install packet monitoring software such as “Fiddler” and see if a request is being made to your Piwik server.
lulz! nope just like to keep everything anonymous. I get what you were saying now about checking the source code, etc. Getting bedtime here. Will do everything you said to do in the morning and report back with my success or failure.
Don’t wanna start a new topic so i post my question inside this topic.
I’ve got almost the same question,
Pretty good at WordPress also but i would like to include the Piwik stats (dashboard) pages inside my WordPress theme.
Not too difficult i think but i was just wondering is it possible to make different layouts (themes) for Piwik?
I see you guys also have a folder in the Piwik installation and inside that folder there is a theme name called DEFAULT. Can i add my own theme next to default and select that from the admin-/setting?
Or do i have to change the default theme and build my own custom layout inside the default template files?
Not too big of a problem but only careful about updates, what if you guys update Piwik in the futures will this overwrite all my theme changes (default folder) ?