Support » Plugin: Google Analyticator » Enhanced Link Attribution

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi stillingen – you could try putting this code under “Additional Tracking Code” in the settings area. I haven’t personally used this function in Analytics, so I can’t support it. But it should work nicely.

    Yes, but should the code be placed “after tracker initialization” or “before tracker initialization”???

    I’d like to know this as well. Thanks!

    The google documentation says

    Add the new tag to your tracking code, before _trackPageview, as illustrated by the bold 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’]);

    So I don’t think the solution of adding it before or after would work. It looks like it requires modification.

    Posted through, but not exactly per Google example. I used the “before” box which has inserted the code after the ‘_setAccount’ line, as shown below. But it is ahead of ‘_trackPageview’ so hopefully will be good enough for Google:

    var _gaq = _gaq || [];
    _gaq.push([‘_setAccount’, ‘~~~~~~~~~’]);
    _gaq.push([‘_addDevId’, ‘~~~~~’]); // Google Analyticator App ID with Google

    var pluginUrl =
    ‘//www.google-analytics.com/plugins/ga/inpage_linkid.js’;
    _gaq.push([‘_require’, ‘inpage_linkid’, pluginUrl]);

    _gaq.push([‘_trackPageview’]);

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Enhanced Link Attribution’ is closed to new replies.