On Mon, 2008-03-03 at 09:14 -0800, [EMAIL PROTECTED] wrote:
> Hi Iain.  We've been using it for ShowMeDo.com for over a year -
> recently I switched from the old-style urchin to the new-style ga.js.
> Take a look at our html, right at the end (as recommended) before the /
> body and /html you'll see the following.  Previously urchin.js lived
> in the same place:
> 
>     <script type="text/javascript">
>     var gaJsHost = (("https:" == document.location.protocol) ?
> "https://ssl."; : "http://www.";);
>     document.write(unescape("%3Cscript src='" + gaJsHost + "google-
> analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
>     </script>
>     <script type="text/javascript">
>     var pageTracker = _gat._getTracker("UA-529483-1");
>     pageTracker._initData();
>     pageTracker._trackPageview();
>     </script>
> </body>
> </html>
> 
> The last time I added a new site for tracking Google took 1 hour to
> pick it up. I seem to recall similar delays (just an hour, not days)
> for the other sites I've added.
> 
> We use Genshi and this code is in master.html.  Presumably as long as
> it renders ok in your browser (do View Source - I copied the above
> from Firefox's view-source) then Google will be notified (assuming
> you're running javascript and you haven't got something like NoScript
> running!).
> 
> Did you get it working?

Thanks, FWIW to others reading, I got it working fine by putting the
code at the bottom of my master.html, but the google "Check status"
function never did work. It just started collecting data and as working
fine a day later.

Iain



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to