?
I had the same issue with the new "Universal" Analytics but the old
one ("Classic") should still work well.
On Fri, Jun 7, 2013 at 3:02 PM, Nargil Manon <manon.nargil(a)jcdecaux.fr> wrote:
Yes I have this JavaScript Extension that you mention
in the HTML of the pages but it still doesn't work..
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Sergiu
Dumitriu
Envoyé : vendredi 7 juin 2013 14:55
À : XWiki Users
Objet : Re: [xwiki-users] Google Analytics
On 06/07/2013 05:11 AM, Nargil Manon wrote:
Hello,
I have a problem to implement Google Analytics into my wiki.
I used the Google Analytics functionality in the administration section and I put the ID
number given by my Google Analytics account. It worked during a day and then nothing.
Do you know this problem and how it can be fixed ?
Thanks
It works by registering a JavaScriptExtension as being used "always on this
wiki", so you should automatically have something like this in the HTML of any page:
<script type='text/javascript'
src='/xwiki/bin/jsx/XWiki/GoogleAnalyticsCode?language=en'
defer='defer'></script>
(depending on how you configured your URLs, the src might be different at the start, e.g.
it could start directly with /jsx/)
Check that it is present. If it isn't, open
/xwiki/bin/edit/XWiki/GoogleAnalyticsCode?editor=object&classname=XWiki.JavaScriptExtension&object=0
and make sure that the "Use this extension" value is set to "Always on
this wiki". If it is already, then you should restart the server (Tomcat?). It
shouldn't happen, but I've seen it misbehave once before.
--
Sergiu Dumitriu
http://purl.org/net/sergiu
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users