On Dec 9, 2007, at 3:39 PM, Nicolas Réau wrote:

>
> > Hei,
> >
> > Is this tutorial ready? Coudn't find any information on how to
> > embedd Google
> > Analytics into XWiki.
>
>
> Hi,
>
> As far as I know, embedding Google Analytics into XWiki to monitor  
> the stats is not difficult.
> You just need to create a google analytics account and paste the  
> script code that will be generated into the header of your XWiki  
> pages. I think there is a javascript.vm template in albatross skin  
> which seems to be the good place where pasting this code.

Actually the good place is in the header. So just go the  
Administration page, then select the Presentation tab and modify the  
content of the HTTP Meta Information field.

For example add at the end:

<script src="http://www.google-analytics.com/urchin.js"; type="text/ 
javascript">
</script>
<script type="text/javascript">
_uacct = "xxx";
urchinTracker();
</script>

-Vincent
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to