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, 03:13 PM   #1
Customer
 
howinfo's Avatar
 
Join Date: Sep 2009
Posts: 20
Rep Power: 9
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, 04:19 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
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, 04:55 PM   #3
Customer
 
Join Date: Feb 2010
Location: Montreal, QC
Posts: 285
Rep Power: 12
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, 03:18 PM   #4
Customer
 
Join Date: Aug 2008
Location: Canada
Posts: 66
Rep Power: 14
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.1.5 | Customized Theme
freeze2 is offline   Reply With Quote
Old 07-14-2010, 07:03 PM   #5
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
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, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
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 10:20 AM
Google Analytic Tracking Code Problem. bhavdip Site Marketing 3 11-20-2009 07:23 PM
Google Analytics Code ryanreed71 Technical Support 2 12-31-2008 11:51 AM
HTML Code for Google SEO Unregistered Pre Sales Questions 1 12-01-2008 11:12 AM
Google Code Search Eric Barnes News & Announcements 0 11-20-2006 08:54 AM


All times are GMT -4. The time now is 03:38 PM.


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