I am using the google analytics plug-in and it does not currently track enhanced link attribution. In order to do so, a bit of code needs to be added or 3dcart needs to update the code. Does anyone know if it is possible to add this myself and still continue to use the 3dcart analytics plug-in? Or perhaps 3dcart can update their code to include it? I don't believe there's any reason people wouldn't want enhanced link attribution (i.e. better link tracking). Specific details below.
Per google... Add the new tag to your tracking code, before _trackPageview, as illustrated by the red text in the example below:
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']);
Per google... Add the new tag to your tracking code, before _trackPageview, as illustrated by the red text in the example below:
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']);
Comment