I am having a couple of unexpected issues after installing Piwik. Neither are faults, as such, but they are both things I have managed to do successfully with other scripts and spent the whole of last night trying to solve so if anyone can give any pointers, I would be grateful.
I have tried to include the real time visitor widget in every page of the back end using <?php includes ('/backend/analytics/index.php?etc=etc&foo=bar') ?> . Unfortunately the output gives me a ‘file not found’ error message. If I remove all the variables, it pulls the Piwik file in but gives a different error message (as I on the train to work I can’t give the message at the moment but there was a warming in a div with a red background).
Secondly, the whole point of installing was to integrate everything in the backend rather than all Admins viewing the stats through my google analytics account. I was going to do this by ‘wrapping’ Piwik in the site template. I did this by amending the smarty templates to match the rest of the site. Unfortunately, this just cased a stack of errors to appear as piwik did not like the variables in one of the included files (a config file included in all my pages sets variables such as $isLoggedIn and $isAdmin).
Is there any solution to either if these? These were the two pre-requisites in my head when I started looking for the best analytics solution and as I like what Piwik does, hopefully there is a way around it.