PDA

View Full Version : How do i add Google Analytics code?


360themes
01-12-2010, 10:40 PM
I was able to do it in 3.8 version. However, i cant do it on vbb 4.0

Whether I paste the code in the top of header or bottom of foot, i still got weird error

Parse error: syntax error, unexpected '[' in /home/forums/public_html/includes/class_core.php(3900) : eval()'d code on line 7

Where should i put my GA code?

BBR-APBT
01-12-2010, 11:30 PM
One of two ways.


literal
<vb:literal>misc code</vb:literal>
Any code inside vb:literal tags will be treated as plain HTML. No curly-brace syntax or vb:tag markup will be evaluated.


Or the easy way: https://vborg.vbsupport.ru/showthread.php?t=229347

murratti
01-13-2010, 02:28 PM
try this mod

https://vborg.vbsupport.ru/showthread.php?t=229347

360themes
01-13-2010, 03:04 PM
@BBR : i used literal code. Thnks so much
@muratti: your comment is helpful too

nul7
01-09-2011, 12:41 PM
thanks for the link!