NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Google Analytics. Where to put it?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-02-2008, 07:44 AM THREAD STARTER               #1 (permalink)
Senior Member
Join Date: Jan 2004
Location: Midwest
Posts: 1,803
Monsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to behold
 



Google Analytics. Where to put it?


I have tried to put the analytics code into www.VideoFanatics.com 3 times now. You can clearly see it is in there? lol. Right where google tells you to put it.

Can someone tell me where it should really go? It does not read. I always seem to get this? Tracking Not Installed (Last checked: 2008-03-02 6:43 AM PST.)


Please advise. Thanks.
Monsterman is offline  
Old 03-02-2008, 08:17 AM   #2 (permalink)
Senior Member
 
shockie's Avatar
Join Date: Dec 2006
Posts: 4,702
shockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond repute
 



stats update once a day... so give it a full day without changing anything.
__________________
- shockie
shockie is offline  
Old 03-02-2008, 08:18 AM THREAD STARTER               #3 (permalink)
Senior Member
Join Date: Jan 2004
Location: Midwest
Posts: 1,803
Monsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to behold
 



I have. I think it is in the wrong place?
Monsterman is offline  
Old 03-02-2008, 10:16 PM   #4 (permalink)
Senior Member
 
shockie's Avatar
Join Date: Dec 2006
Posts: 4,702
shockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond reputeshockie has a reputation beyond repute
 



have you given it a full 24 hours first? if you keep taking it out and put it back in a million times a day it will never fully register.

also read: https://www.google.com/support/googl...55480&hl=en_US
__________________
- shockie
shockie is offline  
Old 03-03-2008, 01:22 AM   #5 (permalink)
i love automation
 
xrvel's Avatar
Join Date: Nov 2007
Location: xrvel.com
Posts: 1,620
xrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant futurexrvel has a brilliant future
 





I just put it in my footer (just right before </body>) and it works

Kurniawan.
__________________
xrvel is offline  
Old 03-03-2008, 06:56 AM THREAD STARTER               #6 (permalink)
Senior Member
Join Date: Jan 2004
Location: Midwest
Posts: 1,803
Monsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to beholdMonsterman is a splendid one to behold
 



I will try that and let you know if that works. Thanks.
Monsterman is offline  
Old 03-03-2008, 08:22 AM   #7 (permalink)
NamePros Regular
Join Date: Jan 2008
Location: Behind the screen
Posts: 441
ttdomain is an unknown quantity at this point
 



You have placed on the beginning of the body tag, which is fine, but it will be better if it will be before the /body tag

Good luck
__________________
%%- for sale : DNLORD.COM %%-
ttdomain is offline  
Old 03-31-2008, 09:30 PM   #8 (permalink)
NamePros Member
 
Skeeter's Avatar
Join Date: Mar 2008
Posts: 64
Skeeter is an unknown quantity at this point
 



If you are still having problems try an Include file


With dynamic php pages, I've always had to put the tracking code in a separate PHP file and then do an include_once in my main page right before the closing </body> tag

example:
<?php include_once("trackingcode.php")?>

I am not sure how neccesary that is but it was the only way I could get it to work correctly on my site. As others have mentioned, Google Analytics is not immediate. If you want instant tracking stats, give StatCounter.com a try. Their code works well with PHP pages.
__________________
~Skeeter~
Last edited by Skeeter; 03-31-2008 at 09:31 PM. Reason: spelling
Skeeter is offline  
Old 04-01-2008, 10:22 AM   #9 (permalink)
Account Closed
 
sambaraj's Avatar
Join Date: Feb 2008
Posts: 267
sambaraj has a spectacular aura aboutsambaraj has a spectacular aura about
 



statcounter.com will give only 500 pages
sambaraj is offline  
Old 04-01-2008, 12:50 PM   #10 (permalink)
NamePros Regular
 
Zubair1's Avatar
Join Date: Mar 2005
Posts: 912
Zubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really nice
 


AIDS/HIV
Google Analytics Should be put before
Code:
</body>
its good to put it in your footer.php file if you do have that in your site.

i'd also like you to try Clicky you can read more about this great new service on my post by Clicking Here.

Clicky is much like Google's Analytics but designed to be very simple for users to understand, it has some many added features plus therre are dozens of PRO features which are for paid members But i would really recommend everyone to use this service.. 1 try wont hurt and i'm pretty sure you will like it
????: NamePros.com http://www.namepros.com/programming/439351-google-analytics-where-to-put-it.html

Regards,
__________________
Live Support : Zubair11 [at] hotmail.com
Free SEO Directory! || Free Online TV || Tech Blog
Web Design & Web Development Services || Reliable Web Hosting
Zubair1 is offline  
Closed Thread


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


Liquid Web Smart Servers  
All times are GMT -7. The time now is 07:07 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger