Web Tech Guide

www.blogsmonetize.com feed

Using Site Speed Measurement in Google Analytic

 

Page speed is one of the most important elements that we should consider for better search engine ranking. The faster page load is, the better.

You need to know the speed of your page to make the improvement on the performance of your pages. It is critical to look at your page speed in context of other web analytics data.

Google has added a new feature "Site Speed" in Google analytics that let you track your page load time of your blog. You can find this feature under Content Report.

With this new feature, you can identify some of the following critical elements:

1. Content: Which landing pages are slowest?
2. Traffic sources: Which campaigns correspond to faster page loads overall?
3. Visitor: How does page load time vary across geographies?
4. Technology: Does your site load faster or slower for different browsers?

In order to enable Google Analytic site speed, you need to add the following code to your current tracking code

_gaq.push(['_trackPageLoadTime']);
So your new code will look like the following:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxxxx-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>
To reduce the page speed, you can follow the instruction on how to make your blog load faster

© 5/08/2011 09:29:00 PM www.blogsmonetize.com
Loading related posts...

0 comments:

Post a Comment