[RAS] Google Analytics

Ivan Kurmanov duraley at gmail.com
Tue Sep 6 11:38:35 CDT 2011


Thomas is right, you should not modify page.xsl

But right away this does not seem to work via phrases either, even
though there seems to be a relevant phrase: "after-footer".

BTW, acis/presentation/ras is where the templates & phrases are now taken from.

It looks like a change to the xslt is needed to allow script tags in
phrase content. I'll see if this is easy to do.

-ivan



On Tue, Sep 6, 2011 at 7:33 PM, Thomas Krichel <krichel at openlib.org> wrote:
>  'Christian Zimmermann' writes
>
>> We use here Google Analytics to understand better who is using the
>> services.
>>
>> I have added the relevant script to presentation/page.xsl so that is
>> appears at the bottom of every page.
>
>  I think it is better to do this using the phrasing mechanism.
>  Add a phrase to phrase-local and refenrence the phrase in page.xsl.
>
>> But it does not, I guess
>> because it needs to be sourced. How is that done, short of
>> restarting the server?
>
>  Try
>
> /usr/bin/pperl -- -k /home/aras/WWW/cgi/a.cgi
>
>
>  Cheers,
>
>  Thomas Krichel                    http://openlib.org/home/krichel
>                                      http://authorprofile.org/pkr1
>                                               skype: thomaskrichel
>
> _______________________________________________
> RAS-run mailing list
> RAS-run at lists.openlib.org
> http://lists.openlib.org/cgi-bin/mailman/listinfo/ras-run
>



More information about the RAS-run mailing list