View Full Version : Google analytic
mobster46
02-07-2017, 04:28 PM
Where can I add the google analytics code? How can I add it?
Seven Skins
02-07-2017, 04:41 PM
You can add the code to headinclude or headinclude_bottom template.
mobster46
02-07-2017, 04:50 PM
You can add the code to headinclude or headinclude_bottom template.
https://vborg.vbsupport.ru/external/2017/02/11.png
Lynne
02-07-2017, 04:53 PM
I've always put it in the footer template.
mobster46
02-07-2017, 04:59 PM
I've always put it in the footer template.
Is your suggestion better?
vbul.org
02-07-2017, 05:48 PM
Is your suggestion better?
Yes,I think this way is better.
RichieBoy67
02-07-2017, 08:31 PM
I used too put in the footer as well but if you use the tag assistant you will see errors when in the footer. The best place is in the headincludes template at the bottom and add it to all your themes including mobile.
The code should be added near the top of the <head> tag and before any other script or CSS tags
https://developers.google.com/analytics/devguides/collection/analyticsjs/
RichieBoy67
02-08-2017, 02:43 PM
https://developers.google.com/analytics/devguides/collection/analyticsjs/
Yeah, that is basically what the headincludes template does.. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.