Add piwik tracking code to .../xwiki/templates/htmlfooter.vm file in
file system resulting ~like this:
</div>## xwikimaincontainerinner
</div>## xwikimaincontainer
#if($isInServletMode)
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ?
"https://odo.lv/piwik/" : "http://odo.lv/piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js'
type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img
src="http://odo.lv/piwik/piwik.php?idsite=1"
style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->
</body>
</html>
#else ## Portlet Mode
</div>
#end
OR
add htmlfooter.vm textarea object
to /xwiki/bin/edit/XWiki/XWikiSkins?editor=class
then edit /xwiki/bin/edit/XWiki/DefaultSkin skin object and paste above
mentioned code into htmlfooter.vm field.
Valdis
Anyone is using the Piwik with XWiki?
I have installed it last week and and it is a nice tool however I couldn’t configure the
Track Site Search in order to allow the Piwik to track the principal terms searched in my
Xwiki.
Someone know how to configure it?
Thank you
Danilo
Grupo Energisa
Danilo A. Oliveira
Analista Suporte Aplicacao TI - DETI
e-mail: danilo.oliveira(a)energisa.com.br | tel: (32) 3429-6342
Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue
ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do
computador.
Privileged and confidential. If this message has been received by mistake, do not
disclose or copy its contents. Please notify sender and delete immediately.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users