http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6610 --- Comment #13 from Paul Poulain <paul.poulain@biblibre.com> --- (In reply to comment #12)
I think the best way to handle this, really, is just continue to allow a block of arbitrary HTML to be placed in the OPAC or staff client, and let users copy/paste the code provided by their analytics tool of choice. We wouldn't get JS event recording this way, but it'd be the least invasive and complicated.
(+1, it was that kind of idea I wanted to express in my comment 1) About piwik: piwik requires that the JS is placed at the end of the page, it can't be placed anywhere (I don't know why, it's just what is written in the documentation: Display JavaScript Code Piwik will issue you with a JavaScript code. This code must appear on every page you want Piwik to analyze. We recommend that you put this code just before your </body> at the bottom of your pages (or in a general "footer" file that is included at the bottom of your pages). (reference: http://piwik.org/docs/installation/) -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.