Testing: Link tracking doesn't work as expected
-----------------------------------------------
Key: MGNLGA-2
URL: http://jira.magnolia-cms.com/browse/MGNLGA-2
Project: Magnolia Google Analytics
Issue Type: Bug
Reporter: Christian Ringele
Assignee: Christian Ringele
Priority: Blocker
Attachments: Picture 2.png
I am testing the GA module on the demo http://demo.magnolia-cms.com/demo
instance.
Generally the tracking of the pages themselves work as expected. All the pages
and page hits are tracked and show up in the GA.
The JS tracking script the module is using is a JQuery plugin (in module JS
'jquery.gatracker.js'). It is supposed to track all links too: external links,
download links and mailto links.
It adds if found, a prefix to the link URL: 'external' or 'downloads' or
'mailtos'.
Setup:
- First I tried a advanced tracker function call with more defined file
extensions (in module init.gatracker.js').
- Then I tried the original function call. So its the unchanged JS running as
provided by JQuery:
(function($){
$.gaTracker('${trackerID}');
})(jQuery);
This call activates the link tracking with the original options defined in the
original JS script 'jquery.gatracker.js'.
Results:
- External links are never tracked
- mailto links are never tracked
- download links are only very seldom tracked:
Only download links which point to a .jpg provided by the image
module/image-zoom generator. See attached file.
I think the problem is located within the js function 'function
decorateLink(u){'.
The regex expression within this function does not apply to the links analyzed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------