Testing Goolgle Analytics with my php-driven site = SLOW!!!

Discussion in 'Traffic Analysis' started by rightandtight, Jan 12, 2007.

  1. #1
    I'm willing to suffer a little bit for some great stats, but this is unbearable!

    I'm on a FIOS connection and after adding the code to my pages, they honestly run at dial-up speed.

    Can anyone recommend something that doesn't affect loading time? Maybe a php solution.
     
    rightandtight, Jan 12, 2007 IP
  2. cormac

    cormac Peon

    Messages:
    3,662
    Likes Received:
    222
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Mind showing a url to look at the code? PM me the url if you want and I'll check on it.
     
    cormac, Jan 12, 2007 IP
  3. rightandtight

    rightandtight Member

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #3
    </table>
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
    <script type="text/javascript">
    _uacct = "UA-118xxxx-x";
    urchinTracker();
    </script>
    </body>
    </html>
     
    rightandtight, Jan 12, 2007 IP
  4. rightandtight

    rightandtight Member

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #4
    Everything was running great before I added the Google Analytics code.
     
    rightandtight, Jan 12, 2007 IP
  5. cormac

    cormac Peon

    Messages:
    3,662
    Likes Received:
    222
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I would need to see the actual site in question. I already know what the Analytics code looks like.
     
    cormac, Jan 12, 2007 IP
  6. rightandtight

    rightandtight Member

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #6
    Unfortunately I can't give that out right now.
     
    rightandtight, Jan 12, 2007 IP
  7. Austars

    Austars Active Member

    Messages:
    1,437
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    95
    #7
    Yea, I often notice sites it says transferring from google analytics, meaning the sites loaded but now the stats are loading, and it can take a while.
     
    Austars, Jan 12, 2007 IP
  8. cormac

    cormac Peon

    Messages:
    3,662
    Likes Received:
    222
    Best Answers:
    0
    Trophy Points:
    0
    #8
    OK no worries, I understand.

    People have complained that their pages load slowly because of Analytics and I have even seen pages load slowly on different sites.

    If I was you I would check your site using as many different computers as possible and see if it is the same everywhere.

    Are you looking to use their stats for anything special? If not you might want to consider using a free counter such as www.statcounter.com - you can still hide the actual counter so your visitors are non the wiser.
     
    cormac, Jan 12, 2007 IP
  9. rightandtight

    rightandtight Member

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #9
    So it turns out the main problem was that my host (MediaTemple) has been having problems running MySql databases for 2-3 months on their new 'GridServer' platform. Found this out the hard way when I moved my test site onto that server.

    I should have my test site up and running on a much more reliable platform by tomorrow. I'll test the analytics code on there and see what kind of performance issues I see, if any.
     
    rightandtight, Jan 13, 2007 IP