27 Apr
2009
27 Apr
'09
7:03 a.m.
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.