vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Administrative and Maintenance Tools - Adding Google Analytics to your Board (https://vborg.vbsupport.ru/showthread.php?t=177895)

bbcentral 12-21-2008 04:02 AM

Quote:

Originally Posted by flypaper (Post 1689616)
I challenge you to find </body> in the footer (on a default style anyway).

OK So technically that's correct, because 'footer' is included just before the </body> tag.

Paste it just after this in your footer template:
Code:

<script type="text/javascript">
<!--
        // Main vBulletin Javascript Initialization
        vBulletin_init();
//-->
</script>

And it will appear before </body>.

My point still stands.

Sunka 01-11-2009 12:00 AM

So, when I update forum to vBulletin v3.8.0, I have nothing to do? I mean, This MOD will continue working?

secrtagnt 02-22-2009 12:15 AM

Quote:

Originally Posted by bbcentral (Post 1689159)

Google does all the work for you, so the correct instructions for this mod should be:
  1. Open your footer template
  2. Find </body>
  3. Paste the code just before </body>
  4. Save the template

If you don't believe me, try it out for yourself.

Seriously, they both work. The instructions for this mod are _not_ incorrect.

secrtagnt 02-22-2009 12:16 AM

Quote:

Originally Posted by Sunka (Post 1707981)
So, when I update forum to vBulletin v3.8.0, I have nothing to do? I mean, This MOD will continue working?

It should.

btotw 03-07-2009 06:01 PM

Assuming your analytic results are w/n the same margin from month to month, why not try it both ways to settle the debate?

If you currently ONLY use it in the footer, try it the other way as the author suggests.

It will NOT reduce the analytic content if the author is incorrect.

But if he happens TO be correct...? :) :) :)

vithorius 05-26-2009 12:42 PM

Thank you so very much for this EXCELLENT hack!

mattwmc2001 12-25-2009 04:52 AM

Ok, at first I had this the codes installed in the footer - noticed they were not directly before the body tag.

When I used this mod they were.

I don't see how it is going to make much of a difference.

The footer is called for each page and google analytics knows via the url its a different page, no?

Matafleur 12-25-2009 04:00 PM

Google recommends you place the analytics javascript before the </body> tag so that if the Analytics web server is down or slow to load, the content on your website still renders normally rather than present a blank page while it's waiting a minute or so for the HTTP request to Google to timeout.


All times are GMT. The time now is 03:02 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.01191 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete