#1
  1. No Profile Picture
    Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Jan 2009
    Posts
    147
    Rep Power
    14

    Tracking page speed with new Analytics code?


    So, it looks like Google Analytics just changed their tracking code again. Does anyone know what code to use for tracking page speed now?
  2. #2
  3. Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Aug 2012
    Location
    Connecticut
    Posts
    207
    Rep Power
    167
    Here is the code: _gaq.push(['_trackPageLoadTime']);
  4. #3
  5. No Profile Picture
    Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Jan 2009
    Posts
    147
    Rep Power
    14
    That's for the old code.

    The new code format is like this:

    <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');


    ga('create', 'UA-#######-#', 'domainname.com');
    ga('send', 'pageview');


    </script>

Similar Threads

  1. Replies: 0
    Last Post: Apr 23rd, 2010, 12:14 AM
  2. Analytics tracking code
    By jmoe in forum Analytics Analysis
    Replies: 5
    Last Post: Feb 10th, 2009, 11:54 AM
  3. Im looking for the tracking code in analytics
    By BashRo in forum Google Optimization
    Replies: 2
    Last Post: Jul 14th, 2008, 11:28 AM
  4. New tracking code for Google Analytics
    By seoprofs in forum Analytics Analysis
    Replies: 8
    Last Post: Jan 23rd, 2008, 10:40 AM

IMN logo majestic logo threadwatch logo seochat tools logo