Manual onclick events cause JS error


Hello everyone,

I trying to use onClick event tracking option, see below:

Freedom page

this does not fire the event, instead JS error shown in the console.

TypeError: L[Y] is undefined

im using the latest version of piwik 2.14.3

futher investigating by look at the source code, i found that is caused by:

LINE:598 asyncTracker[f].apply(asyncTracker, parameterArray);

function apply() {
            var i, f, parameterArray;

            for (i = 0; i < arguments.length; i += 1) {
                parameterArray = arguments[i];
                f = parameterArray.shift();

                if (isString(f)) {
                    asyncTracker[f].apply(asyncTracker, parameterArray);
                } else {
                    f.apply(asyncTracker, parameterArray);