Sorry you don't even need to override anaytics.vm, you can copy the 
google analytics code snippet into header.vm or footer.vm which is 
already present as a field in skins

Ludovic

Ludovic Dubost a écrit :
> You need to create a skin in your wiki and override the analytics.vm 
> template.
> Check out the skin guide on xwiki.org
>
> Ludovic
>
> Vitantonio Messa a écrit :
>   
>> 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@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>   
>>     
>
>
>   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to