« Return to Thread: T5: Include Google Analytics Code

T5: Include Google Analytics Code

by moritzgilsdorf-2 :: Rate this Message:

Reply to Author | View in Thread


Hi,

I have a problem with using Google Analytics in my project. I've added the
GA scripts in my Layout.tml just before the closing body tag. When rendering
the Page, Tapestry inserts between the GA scripts and the </body> the
following code:

<script type="text/javascript">
<!--
Tapestry.onDOMLoaded(function() {
$('gene').activate();
Tapestry.init({"validate":[["organism",[["required","You must provide a
value for Organism."]]]]});
});
// -->

I suspect this behavior to cause GA to fail. Does anyone has a similar
problem or knows a quick workaround to solve this?

Thanks in advance!

Moritz
--
View this message in context: http://n2.nabble.com/T5%3A-Include-Google-Analytics-Code-tp3200824p3200824.html
Sent from the Tapestry Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: T5: Include Google Analytics Code