Thursday, November 8, 2012

In-Page Analytics Improvements in Google Analytics


In-Page Analytics in Google Analytics had a major flaw in attributing the statistics of similar urls in the page. All the similar links will have the same amount of data while viewing through In-Page Analytics tool.

This was persistent for many years and Google Analytics has found a way to fix this issue and give precise statistics for clicks on similar destination links in a given page. In order to make this work two lines of code need to added to the basic tracking code before _trackPageview and enable the enhanced link attribution in the property settings:.

The llustration in the green text furnished below is where the new lines of code
should go in:

var _gaq = _gaq || [];
var pluginUrl =
'//www.google-analytics.com/plugins/ga/inpage_linkid.js';
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);
_gaq.push(['_setAccount', 'UA-XXXXXX-Y']);
_gaq.push(['_trackPageview']);

In addition to the above improvement there are couple of others too.

Read the GA blog post here
For implementation guidelines click here

1 comment:

  1. My Brand is the new brand in India which aims to bring in the high-quality exported standard material at an unbelievable price. As you know the quality, comfort and price are the most important things beyond just BRAND name. Go for MY BRAND! You cannot get these rates anywhere else for this kind of high-quality garments..For More please visit the link below.
    http://www.mydeals247.com/buyers/deal_detail/5763A40D4E1EA074?cnt=3



    ReplyDelete