Google Anylytics is a Program launching by Google to check the performance of the sites and see the performance sites holder. Google is on of the best search engines you already know that. Google launching new programs day by day.Google Analytic introduced a new amazing feature which allows webmasters to measure Page Load Time and Site Speed and get detailed analytics reports of yours site.
Its not an automatic upgrades, and webmasters, bloggers and site owners need to edit code of the Google Analytic code to start tracking page load time and get the site analytics reports in days. Though available in 2 different scripts, it is advisable to always use the asynchronous script as it will not delay page loading and track more pageviews. Remember to place it in HEAD section of your page HTMLs.
Add Site Speed Analytics Code :
To get this new site speed report , add the following line to your analytics code :
_gaq.push(['_trackPageLoadTime']);
Now yours code will look like this :
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageLoadTime']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
Note : Remember the page speeds of measurement is turned off by default and unless you make this code change to the Analytics tracking codes , this report will not be generated. It will help you find which landing pages are slowest, find the causes and fix up your's site speed issue as it is a search engine ranking criteria. : )

No comments:
Post a Comment