The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Google analytics code in headinclude, but where?
Hi, I was wondering where in the headincludes section in vbulletin do I put the google analytic code? the bottom of the page, or dose it matter where in the headinclude section in templates I include the code at?
thanks for any help. |
#2
|
||||
|
||||
Put it at the bottom of the footer template.
|
#3
|
|||
|
|||
i heard in vb 4.0 you should include it in the headincludes. I also heard that including it in the footer, you should ad <vb:literal> because "Google Analytics tracking code or script contains some special characters which does not parse properly. Thus, in order to embed Google Analytics tracking code, the easier way is to wrap the code with <vb:literal> and </vb:literal> tags so that the code is treated literally during page rendering."
--------------- Added [DATE]1301409180[/DATE] at [TIME]1301409180[/TIME] --------------- I also was wondering, since I inserted it in the headincludes part, will that track ALL pages on my forum? |
#4
|
||||
|
||||
Since the headinclude template is included on all pages, then your GA will be included on all pages.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|