Support for Google Analytics enhanced link attribution
-
ENHANCEMENT REQUEST:
It appears WordPress SEO does not support Google Analytics’ enhanced link attribution functionality.
Fundamentally, it allows webmasters to:
a) See separate click information isolated for multiple links on a page that all have the same destination
b) see when one page element has multiple destinations
c) track buttons, menus, and actions driven by javascript
All are VERY helpful to understand usability – especially when menus duplicate page links.
The requirements are simple:
1) Add a checkbox in WordPress SEO admin to flag if user wants Enhanced Link Attribution turned on.
2) If the option is selected, the following code:
var pluginUrl =
‘//www.google-analytics.com/plugins/ga/inpage_linkid.js’;
_gaq.push([‘_require’, ‘inpage_linkid’, pluginUrl]);is added to the current Google Analytics code between the following lines:
var _gaq = _gaq || [];
[INSERT NEW CODE HERE]
_gaq.push([‘_setAccount’, ‘UA-XXXXXX-Y’]);
_gaq.push([‘_trackPageview’]);That’s all.
Would think this is a no-brainer and about 5 minutes of work if you stop to grab a cup of coffee and take a pee in the process…
Thanks.
Here is the link to Google’s description of the functionality: https://support.google.com/analytics/bin/answer.py?hl=en&utm_id=ad&answer=2558867
- The topic ‘Support for Google Analytics enhanced link attribution’ is closed to new replies.