Re: render google analytics at end of head

2010-09-12 Thread Don Ferguson
FWIW, I've been using async analytics for months with the snippet in the middle of the head section, and it seems to work just fine. I'd be curious to know why it matters... One tip for using analytics with wicket: you can pass an explicit (logical) url to track -- just add a string after _trac

Re: render google analytics at end of head

2010-09-12 Thread Wouter de Vaal
Hm, interesting, on this page: http://www.google.com/support/analytics/bin/answer.py?hl=en_US&answer=174090&utm_id=ad they say: " Once you find the code snippet, copy and paste it into your web page, *just before the closing* tag " This is why I'm asking... If I just dump it in the head in my bas

Re: render google analytics at end of head

2010-09-12 Thread Alexander Morozov
I think this is not hack, but "raw" post-processing :) Strict processing can be done with XsltTransformerBehavior or as Martin said, you can use JS. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/render-google-analytics-at-end-of-head-tp2536175p2536224

Re: render google analytics at end of head

2010-09-12 Thread Martin Grigorov
What about using plain javascript to create the new

Re: render google analytics at end of head

2010-09-12 Thread Wouter de Vaal
sponseFilter ? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/render-google-analytics-at-end-of-head-tp2536175p2536213.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > -

Re: render google analytics at end of head

2010-09-12 Thread Alexander Morozov
Hi! Have you looked at IResponseFilter ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/render-google-analytics-at-end-of-head-tp2536175p2536213.html Sent from the Wicket - User mailing list archive at Nabble.com

render google analytics at end of head

2010-09-12 Thread Wouter de Vaal
Hi, For some time now, google has changed the way you can incorporate an analytics snippet. The former one was slow and synchronous, the current one is asynchronous, so I would like to use that one. However you have to place it just before . Placing it in our base page at the end of wicket:head do