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?
Ian.
On Feb 29, 10:56 pm, iain duncan <[EMAIL PROTECTED]> wrote:
> On Fri, 2008-29-02 at 14:07 -0800, percious wrote:
> > I use it forwww.percious.com I put the snipet in my master.kid
>
> > Works awesome. I dont know about mod_proxy, but it works through
> > webfaction.
>
> > Yikes! im still running kid :-p.
>
> Thanks Chris. I'll wait the 24hrs and see if it kicks in then.
>
> 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
-~----------~----~----~----~------~----~------~--~---