Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > MISCELLANEOUS > Lounge

Post Reply
 
Thread Tools
  #1  
Old 05-27-2007, 11:30 PM
lomoseb Offline
forum loafer
 
Join Date: Apr 2007
Posts: 7
Google analytics problem

Hello

I try to 'install" google analitycs but with no results:

First : i install it the regular way, check it ok but 24h later with no results ("am i so bad photographer ?")

Second. : I try with the dynamic php way. post the analyticstracking.php in my root folder (one with index.php) and put the code in image template with replacing "example_page_name_1" by <image title>
and now GA doesn't see the script...

Where am i wrong ?

ps : In GA : i put http://lomoseb.free.fr/pp/ as url and index.php as default page

photoblog : Lumieres
Reply With Quote
  #2  
Old 05-28-2007, 01:17 AM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
The JavaScript method is the best way to do it.

https://www.google.com/support/analy...26908&hl=en_US
__________________
Jay Williams | A Different View
Reply With Quote
  #3  
Old 05-28-2007, 10:52 AM
lomoseb Offline
forum loafer
 
Join Date: Apr 2007
Posts: 7
It works for you ?
Reply With Quote
  #4  
Old 05-28-2007, 01:16 PM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
Yes, the Javascript method works for me.

At the bottom of the page, right before the closing </body> tag, I have this code:
HTML Code:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-xxxx-x";
urchinTracker();
</script>
You have to go to google analytics to get your own "_uacct" number.
__________________
Jay Williams | A Different View
Reply With Quote
  #5  
Old 12-31-2007, 05:46 PM
knel Offline
forum loafer
 
Join Date: Aug 2007
Posts: 12
Hi!
You are adding the Google Analytics code to your xxxxxx_template.html pages, or are you doing some thing on your index.php file? Are you getting statcis for all your photos or just by html files?

Thanks for the help!
Reply With Quote
  #6  
Old 12-31-2007, 06:08 PM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
Yes, simply add that code to the bottom of each xxxxxx_template.html page.
That is by far the best way.
__________________
Jay Williams | A Different View
Reply With Quote
  #7  
Old 01-30-2008, 09:30 PM
jon-E2 Offline
forum loafer
 
Join Date: Jan 2008
Posts: 7
I haven't had any problems with mine....

Eleven2 Web Hosting | World-Class Hosting, Done Right!
PM me about getting 20% off at Eleven2!
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:04 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs