I'm having trouble matching up the instructions Google gives me for their enhanced tracking https://support.google.com/analytics/answer/2558867?hl=en
with the normal tracking code I am currently using for their analytics. Their enhanced example (pasted below) is what I'm supposed to add but their context example (green in what's pasted below) ISN'T in the Google Analytics code I have. At least not in a literal way. I don't know code and am afraid to paste things in the wrong place.
In case it helps you answer, I'm using Muse, hosting with BC and have been putting the GA code in the Muse Masters> Page Properties> Metadata html for head. Things have been working fine with plain analytics but I'd like the deeper ones the enhanced ones are supposed to offer so I know exactly which links are popular.
here's my current code (with the tracking code and URL turned to xxxx for privacy of my client):
<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', 'XX-XXXXXXXX-X', 'xxxxxxxx.com');
ga('send', 'pageview');
</script>
where should I insert the red below in what i have above? (the code below is from https://support.google.com/analytics/answer/2558867?hl=en)
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']);