Log in

View Full Version : adding google analytics tracker


kosei
09-23-2007, 02:22 PM
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct="UA-xxxx-x";
urchinTracker();
</script>

I have to add this right before the end of the body. How can I add this to every page in my forums?

I've seen a couple people say "drop it in the header template" or "footer template" but I don't really know what that means.

also seen it asked to be put in the "headincludes" but I don't know what that means either.

Lynne
09-23-2007, 04:18 PM
If you go to your Admin CP, then go to Styles & Templates > Style Manager and select your style, you will see all the templates. Go down to the footer template and add that code at the very end of that template.

Brandon Sheley
09-23-2007, 04:34 PM
I'd use the footer template over the headerincludes.

Blackhat
09-23-2007, 04:38 PM
I'd use the footer template over the headerincludes.

Why ?

Brandon Sheley
09-23-2007, 04:40 PM
I'd rather it load at the end of the page, vs the beginning.

maybe it doesn't work like that, actually I just add my code to my vbseo ;)

Dismounted
09-24-2007, 05:35 AM
Why ?
If the script locks up, at least you'll see majority of the page.

christicehurst
02-03-2008, 08:15 AM
I'm doing the same thing here. I hope it looks right. Can someone view the source code and tell me?

www.writersmuster.com

SNATCH3R
02-04-2008, 05:39 PM
an out of the way question....does adding google analytics, will it slow down the page loading time.....

wally
02-05-2008, 07:43 AM
an out of the way question....does adding google analytics, will it slow down the page loading time.....

sometimes it does but mostly you'll notice nothing about it

Videx
02-07-2008, 03:12 AM
FYI, this looks interesting:
https://vborg.vbsupport.ru/showthread.php?t=168536