You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Daniel Brüßler <in...@danielbruessler.de> on 2007/09/14 14:27:37 UTC
Re: Google Analytics with Lenya
Hello James,
then you should get a JavaScript-error, because the first script-tag in
your page2xhtml.xsl is the inclusion of the JS-library.
Just
<script src="http://www.google-analytics.com/urchin.js"
type="text/javascript">
</script>
The second script-tag is xml-valid in my case. If it's not in your case
you could wrap it with /*<![CDATA[*/ ... /*]]>*/
kind regards
Daniel Brüßler
drseuk@sdf-eu.org schrieb:
> Hi,
>
> I've set up a Google Analytics account ( http://www.google.com/analytics
> ) and added the tracking code just before the </body> tag in
> page2xhtml.xsl . For some reason, Analytics is not detecting the
> tracking code. The only thing I have noticed is that Lenya converts the
> first script element into an empty element.
>
> Has anyone else had this problem and / or know of a workround?
>
> Cheers,
>
> James
>
> --
>
> "Where do you want to SCO today?"
>
> drseuk@sdf-eu.org
> SDF-EU Public Access UNIX System - http://sdf-eu.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Google Analytics with Lenya
Posted by dr...@sdf-eu.org.
Hi Bhavya,
Yes. I have tried putting a // comment in to prevent Lenya from
compressing the first script element into an empty one. As the effect's
not instantaneous, it's a bit difficult to see if it'll work without
waiting for 24 hours.
Regards,
James
On Fri, 14 Sep 2007, Bhavya Sharma wrote:
> Date: Fri, 14 Sep 2007 18:45:58 +0530
> From: Bhavya Sharma <bh...@gmail.com>
> Reply-To: user@lenya.apache.org
> To: user@lenya.apache.org
> Subject: Re: Google Analytics with Lenya
>
> i faced the same problem so after each javascript i had to put another
> javascript tag but that should not be empty , it must have at least one
> declaration even if it of no use
>
> On 9/14/07, drseuk@sdf-eu.org <dr...@sdf-eu.org> wrote:
>>
>> Hi Daniel,
>>
>> Thanks for the quick reply. It seems to be receiving data now as is (but
>> well after the 24 hour wait Google stipulates). Weird. I still can't see
>> any data appearing but I'll leave it another day or so and see if that
>> changes.
>>
>> Regards,
>>
>> James
>>
>> P.S., I've been keeping a detailed log on how to go from a bare metal box
>> to a live web server with Lenya, including the installation and
>> configuration of Ubuntu Server, iptables, ssh, modifications to Lenya etc.
>> (and Google Analytics!).
>>
>> It might form the basis of a "Lenya Book for Dummies" aimed at small
>> institutions who may not have much IT expertise and just want to use Lenya
>> to install / run one web server by following a step by step guide.
>>
>> If anyone's interested in this, please let me know.
>>
>> On Fri, 14 Sep 2007, Daniel Br��ler wrote:
>>
>>> Date: Fri, 14 Sep 2007 14:27:37 +0200
>>> From: "[ISO-8859-1] Daniel Br��ler" <in...@danielbruessler.de>
>>> Reply-To: user@lenya.apache.org
>>> To: user@lenya.apache.org
>>> Subject: Re: Google Analytics with Lenya
>>>
>>> Hello James,
>>>
>>> then you should get a JavaScript-error, because the first script-tag in
>>> your page2xhtml.xsl is the inclusion of the JS-library.
>>>
>>> Just
>>>
>>> <script src="http://www.google-analytics.com/urchin.js"
>>> type="text/javascript">
>>> </script>
>>>
>>> The second script-tag is xml-valid in my case. If it's not in your case
>>> you could wrap it with /*<![CDATA[*/ ... /*]]>*/
>>>
>>> kind regards
>>> Daniel Br��ler
>>>
>>>
>>> drseuk@sdf-eu.org schrieb:
>>>> Hi,
>>>>
>>>> I've set up a Google Analytics account (
>> http://www.google.com/analytics
>>>> ) and added the tracking code just before the </body> tag in
>>>> page2xhtml.xsl . For some reason, Analytics is not detecting the
>>>> tracking code. The only thing I have noticed is that Lenya converts the
>>>> first script element into an empty element.
>>>>
>>>> Has anyone else had this problem and / or know of a workround?
>>>>
>>>> Cheers,
>>>>
>>>> James
>>>>
>>>> --
>>>>
>>>> "Where do you want to SCO today?"
>>>>
>>>> drseuk@sdf-eu.org
>>>> SDF-EU Public Access UNIX System - http://sdf-eu.org
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>
>> --
>>
>> "Hey Microsoft, where do you want to 'SCO' today?" :-)
>>
>> drseuk@sdf-eu.org
>> SDF-EU Public Access UNIX System - http://sdf-eu.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
>
> --
> Thanks
>
> Bhavya Sharma
>
--
"Hey Microsoft, where do you want to 'SCO' today?" :-)
drseuk@sdf-eu.org
SDF-EU Public Access UNIX System - http://sdf-eu.org
Re: Google Analytics with Lenya
Posted by Bhavya Sharma <bh...@gmail.com>.
i faced the same problem so after each javascript i had to put another
javascript tag but that should not be empty , it must have at least one
declaration even if it of no use
On 9/14/07, drseuk@sdf-eu.org <dr...@sdf-eu.org> wrote:
>
> Hi Daniel,
>
> Thanks for the quick reply. It seems to be receiving data now as is (but
> well after the 24 hour wait Google stipulates). Weird. I still can't see
> any data appearing but I'll leave it another day or so and see if that
> changes.
>
> Regards,
>
> James
>
> P.S., I've been keeping a detailed log on how to go from a bare metal box
> to a live web server with Lenya, including the installation and
> configuration of Ubuntu Server, iptables, ssh, modifications to Lenya etc.
> (and Google Analytics!).
>
> It might form the basis of a "Lenya Book for Dummies" aimed at small
> institutions who may not have much IT expertise and just want to use Lenya
> to install / run one web server by following a step by step guide.
>
> If anyone's interested in this, please let me know.
>
> On Fri, 14 Sep 2007, Daniel Brüßler wrote:
>
> > Date: Fri, 14 Sep 2007 14:27:37 +0200
> > From: "[ISO-8859-1] Daniel Brüßler" <in...@danielbruessler.de>
> > Reply-To: user@lenya.apache.org
> > To: user@lenya.apache.org
> > Subject: Re: Google Analytics with Lenya
> >
> > Hello James,
> >
> > then you should get a JavaScript-error, because the first script-tag in
> > your page2xhtml.xsl is the inclusion of the JS-library.
> >
> > Just
> >
> > <script src="http://www.google-analytics.com/urchin.js"
> > type="text/javascript">
> > </script>
> >
> > The second script-tag is xml-valid in my case. If it's not in your case
> > you could wrap it with /*<![CDATA[*/ ... /*]]>*/
> >
> > kind regards
> > Daniel Brüßler
> >
> >
> > drseuk@sdf-eu.org schrieb:
> >> Hi,
> >>
> >> I've set up a Google Analytics account (
> http://www.google.com/analytics
> >> ) and added the tracking code just before the </body> tag in
> >> page2xhtml.xsl . For some reason, Analytics is not detecting the
> >> tracking code. The only thing I have noticed is that Lenya converts the
> >> first script element into an empty element.
> >>
> >> Has anyone else had this problem and / or know of a workround?
> >>
> >> Cheers,
> >>
> >> James
> >>
> >> --
> >>
> >> "Where do you want to SCO today?"
> >>
> >> drseuk@sdf-eu.org
> >> SDF-EU Public Access UNIX System - http://sdf-eu.org
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >> For additional commands, e-mail: user-help@lenya.apache.org
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> > For additional commands, e-mail: user-help@lenya.apache.org
> >
>
> --
>
> "Hey Microsoft, where do you want to 'SCO' today?" :-)
>
> drseuk@sdf-eu.org
> SDF-EU Public Access UNIX System - http://sdf-eu.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
--
Thanks
Bhavya Sharma
Re: Google Analytics with Lenya
Posted by dr...@sdf-eu.org.
Hi Daniel,
Thanks for the quick reply. It seems to be receiving data now as is (but
well after the 24 hour wait Google stipulates). Weird. I still can't see
any data appearing but I'll leave it another day or so and see if that
changes.
Regards,
James
P.S., I've been keeping a detailed log on how to go from a bare metal box
to a live web server with Lenya, including the installation and
configuration of Ubuntu Server, iptables, ssh, modifications to Lenya etc.
(and Google Analytics!).
It might form the basis of a "Lenya Book for Dummies" aimed at small
institutions who may not have much IT expertise and just want to use Lenya
to install / run one web server by following a step by step guide.
If anyone's interested in this, please let me know.
On Fri, 14 Sep 2007, Daniel Brüßler wrote:
> Date: Fri, 14 Sep 2007 14:27:37 +0200
> From: "[ISO-8859-1] Daniel Brüßler" <in...@danielbruessler.de>
> Reply-To: user@lenya.apache.org
> To: user@lenya.apache.org
> Subject: Re: Google Analytics with Lenya
>
> Hello James,
>
> then you should get a JavaScript-error, because the first script-tag in
> your page2xhtml.xsl is the inclusion of the JS-library.
>
> Just
>
> <script src="http://www.google-analytics.com/urchin.js"
> type="text/javascript">
> </script>
>
> The second script-tag is xml-valid in my case. If it's not in your case
> you could wrap it with /*<![CDATA[*/ ... /*]]>*/
>
> kind regards
> Daniel Brüßler
>
>
> drseuk@sdf-eu.org schrieb:
>> Hi,
>>
>> I've set up a Google Analytics account ( http://www.google.com/analytics
>> ) and added the tracking code just before the </body> tag in
>> page2xhtml.xsl . For some reason, Analytics is not detecting the
>> tracking code. The only thing I have noticed is that Lenya converts the
>> first script element into an empty element.
>>
>> Has anyone else had this problem and / or know of a workround?
>>
>> Cheers,
>>
>> James
>>
>> --
>>
>> "Where do you want to SCO today?"
>>
>> drseuk@sdf-eu.org
>> SDF-EU Public Access UNIX System - http://sdf-eu.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
--
"Hey Microsoft, where do you want to 'SCO' today?" :-)
drseuk@sdf-eu.org
SDF-EU Public Access UNIX System - http://sdf-eu.org