The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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? |
#2
|
|||
|
|||
Try using
HTML Code:
<vb:literal><Google analytics code></vb:literal> |
#3
|
|||
|
|||
YAY!!! Thank you so much!!
Works 100% thank you! |
#4
|
|||
|
|||
could someone explain how in non techie terms?
|
#5
|
|||
|
|||
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> |
#6
|
|||
|
|||
Thanks chuckrobbie, works a treat.
|
#7
|
|||
|
|||
Pleasure ... athough thanks should go to Chopsuey as he put me in the right direction!
|
#8
|
|||
|
|||
Perfect, thanks so much for the detailed instructions
|
#9
|
|||
|
|||
Thank you!!
|
#10
|
|||
|
|||
Quote:
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> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|