Getting google analytics to work with PHProxy

Discussion in 'Google' started by Whitey, Oct 24, 2007.

  1. #1
    I got it working before, but then changed themes and I cant get it working again.

    Ive put it in the tracking code into index.inc.php at the end of the file before the </body> tag, but its still not working.

    Can anyone help me out here? cheers:D;)
     
    Whitey, Oct 24, 2007 IP
  2. zaczebra

    zaczebra Peon

    Messages:
    654
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could try this thread i'm sure it has been asked before

    http://forums.digitalpoint.com/showthread.php?t=399487&page=68

    I will also try to help you :)

    If you want stats for your just your homepage hits put it right at the bottom of your home page file but before the <body> tag

    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-124355-14";
    urchinTracker();
    </script>

    </body>
    </html>


    If you want it to record your total hits put it in your index.php file right at the beginning before the <?php

    Not sure if the above will work in the php as it is off the top of my head

    I am sure the above thread will help also

    Kind regards

    You could also try the php thread
     
    zaczebra, Oct 24, 2007 IP