How do I add Google Analytics tracking code to VB5?
How do I add Google Analytics tracking code to VB5?
Collapse
X
-
Edit the footer template and add the code at the bottom of the template between the following tags and just before the closing </body> tag:
<vb:literal>
Analytics code here
</vb:literal> -
If you don't want to edit the existing template you can do this...
1) Create a new template called footer_google_analytics.
2) Paste your Google code into it. Save the template.
3) Go to Products and Hooks in the Admin CP. Click "Add New Hook".
4) Select "footer_copyright" as the Hook Location.
5) Give it the title, Google Analytics
6) For the template name enter footer_google_analytics
7) Save the hook.Last edited by Wayne Luke; Mon 7 Jan '13, 10:16am.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
Got to love these new, better ways of adding stuff in vB5.
Takes it to a whole new level...MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.comComment
-
Styles & Templates -> Style Manager.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
Dutch Online Computer hulp - www.pctuts.beComment
-
Comment
-
<vb:literal> is something you add.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
Related Topics
Collapse
-
by OcalaDesignsIs it true that there is nowhere to add Google Analytic code in the VB5 Admin area?? All I'm finding is that I may have to edit the footer or I may have to use a mod from some tweaker?
-
Channel: Support Issues & Questions
-
-
by creaturexAnother thread on this forum say that in order to add Google Analytics code to my forum, all I need to do is add the code the footer.
My forum is hosted in the vBulletin Cloud, so I can't...-
Channel: Support Issues & Questions
-
-
by langeHi,
I would like to add a hook in vB5.
In vb3.8.11, I was going to Admincp/Hooks&Products System/Add New Hook. At Hook Location, I selected Template_safe_function to add...-
Channel: Support Issues & Questions
-
-
by zemanI went to style manager and edited the footer by adding a script (tracking id from google analytics). But when I tried to save, it said to "Confirm removal of vBulletin copyright." Can I just...
-
Channel: Support Issues & Questions
-
-
by M@dnessGood day all,
I just upgraded to VB5 and kind of lost...
I need to add my Google DFP code right under the <head> tag, but or the life of me I can't file the file to modify....-
Channel: Support Issues & Questions
-
Comment