Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 Feb 2017, 18:28
mobster46 mobster46 is offline
 
Join Date: Dec 2016
Google analytic

Where can I add the google analytics code? How can I add it?
Reply With Quote
  #2  
Old 07 Feb 2017, 18:41
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
You can add the code to headinclude or headinclude_bottom template.
Reply With Quote
  #3  
Old 07 Feb 2017, 18:50
mobster46 mobster46 is offline
 
Join Date: Dec 2016
Originally Posted by Seven Skins View Post
You can add the code to headinclude or headinclude_bottom template.
Reply With Quote
  #4  
Old 07 Feb 2017, 18:53
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
I've always put it in the footer template.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #5  
Old 07 Feb 2017, 18:59
mobster46 mobster46 is offline
 
Join Date: Dec 2016
Originally Posted by Lynne View Post
I've always put it in the footer template.
Is your suggestion better?
Reply With Quote
  #6  
Old 07 Feb 2017, 19:48
vbul.org's Avatar
vbul.org vbul.org is offline
 
Join Date: May 2016
Real name: Doğanay
Originally Posted by mobster46 View Post
Is your suggestion better?
Yes,I think this way is better.
__________________
vBul.org - vBulletin Türkçe Dayanışma
Reply With Quote
  #7  
Old 07 Feb 2017, 22:31
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
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.
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #8  
Old 08 Feb 2017, 07:27
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Location: Lancashire, UK
The code should be added near the top of the <head> tag and before any other script or CSS tags
https://developers.google.com/analyt...n/analyticsjs/
Reply With Quote
  #9  
Old 08 Feb 2017, 16:43
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
Yeah, that is basically what the headincludes template does..
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:26.

Layout Options | Width: Wide Color: