You need to create a skin in your wiki and override the analytics.vm
template.
Check out the skin guide on
And what about a wiki-farm?
My problem is that I have to use this for one wiki in our wiki-farm: I
guess if I put that code in the templates/analytics.vm it will index all
the wikis in the farm.
Is it possible to embed the code in template/analytics.vm directly on
the page of the wiki I want to address? We need to count visits only on
the main page of the wiki.
Vito
Sergiu Dumitriu wrote:
Vitantonio Messa wrote:
Hi all,
how can I embed the Google Analytics code in XWiki?
Thanks,
Check out templates/analytics.vm
All you need to do is uncomment the code (remove #* and *#) and put
the right _uacct value.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users