Pixelpost Forum

Pixelpost Forum (http://www.pixelpost.org/forum/index.php)
-   Lounge (http://www.pixelpost.org/forum/forumdisplay.php?f=23)
-   -   Google analytics problem (http://www.pixelpost.org/forum/showthread.php?t=6667)

lomoseb 05-27-2007 11:30 PM

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...:confused:

Where am i wrong ?

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

photoblog : Lumieres

jaywilliams 05-28-2007 01:17 AM

The JavaScript method is the best way to do it.

https://www.google.com/support/analy...26908&hl=en_US

lomoseb 05-28-2007 10:52 AM

It works for you ?

jaywilliams 05-28-2007 01:16 PM

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.

knel 12-31-2007 05:46 PM

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!

jaywilliams 12-31-2007 06:08 PM

Yes, simply add that code to the bottom of each xxxxxx_template.html page.
That is by far the best way.

jon-E2 01-30-2008 09:30 PM

I haven't had any problems with mine....

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


All times are GMT. The time now is 08:58 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.