Support Forums

Best Place for Google Analytic Code?

This is a discussion on Best Place for Google Analytic Code? within the Templates, HTML, CSS, and Design Help forums, part of the General category; Can somebody tell me the file name where would be the best place to put the Google analytic code. ( ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 07-11-2010, 04:13 PM   #1
Customer
 
howinfo's Avatar
 
Join Date: Sep 2009
Posts: 20
Rep Power: 10
howinfo is on a distinguished road
Default Best Place for Google Analytic Code?

Can somebody tell me the file name where would be the best place to put the Google analytic code. ( v4.1.6 Developer )

As Google says - (Most websites re-use one file for common content, so it's likely that you won't have to place the code snippet on every single page of your website.)

Thank you
__________________
Training And Courses
howinfo is offline   Reply With Quote
Old 07-11-2010, 05:19 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

in your layout template.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 07-11-2010, 05:55 PM   #3
Customer
 
Join Date: Feb 2010
Location: Montreal, QC
Posts: 286
Rep Power: 14
EnergyFreak is on a distinguished road
Default

Either footer.tpl or the header.tpl, I suggest the footer though, So Google analytics doesn't slow down the loading of your page.
EnergyFreak is offline   Reply With Quote
Old 07-14-2010, 04:18 PM   #4
Customer
 
freeze2's Avatar
 
Join Date: Aug 2008
Location: Canada
Posts: 158
Rep Power: 17
freeze2 is on a distinguished road
Default

Google's latest tracking code is best placed before the closing head tag </head>

Set up the tracking code - Analytics Help
__________________
Developer V4.2.3 and V4.2.4
freeze2 is offline   Reply With Quote
Old 07-14-2010, 08:03 PM   #5
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,527
Rep Power: 89
seymourjames is a jewel in the rough
Default

Correctly adding Google analytics code
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Reply

Tags
google analytics code

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Correctly adding Google analytics code marketplace Site Marketing 3 07-26-2010 11:20 AM
Google Analytic Tracking Code Problem. bhavdip Site Marketing 3 11-20-2009 08:23 PM
Google Analytics Code ryanreed71 Technical Support 2 12-31-2008 12:51 PM
HTML Code for Google SEO Unregistered Pre Sales Questions 1 12-01-2008 12:12 PM
Google Code Search Eric Barnes News & Announcements 0 11-20-2006 09:54 AM


All times are GMT -4. The time now is 04:16 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0