vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   adding google analytics tracker (https://vborg.vbsupport.ru/showthread.php?t=158541)

kosei 09-23-2007 02:22 PM

adding google analytics tracker
 
<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

Quote:

Originally Posted by Loco.M (Post 1345258)
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

Quote:

Originally Posted by Blackhat (Post 1345262)
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

Quote:

Originally Posted by luttappy (Post 1436256)
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


All times are GMT. The time now is 07:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01157 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete