Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-06-2010, 06:51 AM
chuckrobbie chuckrobbie is offline
 
Join Date: Jul 2006
Location: durban, South Africa
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Google Analytics - Where to add in VB4.0.2?

Hi all

I have searched the forums and only found posts about older versions of VB.

In VB4.0.2 you cannot add this google script to the footer template like you always used to!!!!

How do we do it now please?
Reply With Quote
  #2  
Old 03-06-2010, 07:35 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try using
HTML Code:
<vb:literal><Google analytics code></vb:literal>
Works great on my board
Reply With Quote
  #3  
Old 03-06-2010, 09:54 AM
chuckrobbie chuckrobbie is offline
 
Join Date: Jul 2006
Location: durban, South Africa
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

YAY!!! Thank you so much!!

Works 100% thank you!
Reply With Quote
  #4  
Old 03-08-2010, 07:52 PM
matt wood matt wood is offline
 
Join Date: Jan 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

could someone explain how in non techie terms?
Reply With Quote
  #5  
Old 03-09-2010, 02:54 AM
chuckrobbie chuckrobbie is offline
 
Join Date: Jul 2006
Location: durban, South Africa
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Matt

Yeah I also wish that a lot more is done for us non-techie peeps!

Basically you need to go to your Admin Panel.
Go down to Styles and Style Manager.
Choose the style you are using and double click on the <<>> at the right side of the box.
All your style info now shows.
Scroll down to "footer"
When that opens, scroll down to the very end and paste the cose in,
<vb:literal><Google analytics code></vb:literal>
DO NOT SAVE YET

Then in another window wher you have your Google Analytic code, highlight the full code and paste it in where is says <Google analytics code> removing the 2 brackets
so now it should look like
<vb:literal><script>blah blah blah</script></vb:literal>

SAVE AND RELOAD in case you did something wrong.
If it accepts it, then it will save properly...

GL

<vb:literal><Google analytics code></vb:literal>
Reply With Quote
  #6  
Old 03-09-2010, 08:46 AM
Blocker Blocker is offline
 
Join Date: Oct 2008
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks chuckrobbie, works a treat.
Reply With Quote
  #7  
Old 03-09-2010, 09:44 AM
chuckrobbie chuckrobbie is offline
 
Join Date: Jul 2006
Location: durban, South Africa
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pleasure ... athough thanks should go to Chopsuey as he put me in the right direction!
Reply With Quote
  #8  
Old 03-24-2010, 07:00 PM
Samhayne-MMS Samhayne-MMS is offline
 
Join Date: Mar 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect, thanks so much for the detailed instructions
Reply With Quote
  #9  
Old 03-25-2010, 02:57 PM
Jax2u Jax2u is offline
 
Join Date: Jan 2010
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!!
Reply With Quote
  #10  
Old 03-26-2010, 11:54 AM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chuckrobbie View Post
Hi Matt

Yeah I also wish that a lot more is done for us non-techie peeps!

Basically you need to go to your Admin Panel.
Go down to Styles and Style Manager.
Choose the style you are using and double click on the <<>> at the right side of the box.
All your style info now shows.
Scroll down to "footer"
When that opens, scroll down to the very end and paste the cose in,
<vb:literal><Google analytics code></vb:literal>
DO NOT SAVE YET

Then in another window wher you have your Google Analytic code, highlight the full code and paste it in where is says <Google analytics code> removing the 2 brackets
so now it should look like
<vb:literal><script>blah blah blah</script></vb:literal>

SAVE AND RELOAD in case you did something wrong.
If it accepts it, then it will save properly...

GL

<vb:literal><Google analytics code></vb:literal>
lol I installed it but have no idea how to use it

i grabbed the code it was in 2 scripts
HTML Code:
<vb:literal><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"> 
try{ 
var pageTracker = _gat._getTracker("UA-xxxxxx-x"); 
pageTracker._trackPageview(); 
} catch(err) {}</script></vb:literal>
and it seems to be ok but now what do i do to see the results? in my google webmaster page or what
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:38 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04403 seconds
  • Memory Usage 2,252KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete