What about using plain javascript to create the new <script> and append it
in the <head> ?
This is what GA recommend in their documentation.

see http://code.google.com/chrome/extensions/tut_analytics.html for example

On Sun, Sep 12, 2010 at 11:27 AM, Wouter de Vaal <[email protected]> wrote:

> This looks like hacking into the output string buffer? That seems a bit of
> a
> dirty hack to me, that would involve splitting up just before </head> and
> appending code their.
>
> I hope there is a better way than this...
>
> Wouter
>
> 2010/9/12 Alexander Morozov <[email protected]>
>
> >
> > 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.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>
>
> --
> check out https://www.memolio.com
>

Reply via email to