Hello all,
I try to implement piwik in an existing webpage.
Piwik is a tool which monitors webtraffic. It is a free version of google
analytics. See http://de.piwik.org/.
The html code can be modified in two ways.
First, a JavaScript tag ist implemented in the html-header which tracks page views.
The second option is to additionally monitor user interactions. The piwick manual says, that I have to call
the JavScript function trackPageView() via onclick attribute. I.e. something like
<a href="#" onclick="javascript:piwikTracker.trackPageView('Menu/Freedom');">Freedom page</a>
So here comes HTML-Validator. I'd like to use HTML-Validater to alert me, whenever an <a> element
with a href= attribute has no onclick attribute linking to function trackPageView.
I wonder whether is can be done?
Any hint is very much appreciated



