{"action":"opened","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/9924","repository_url":"https://api.github.com/repos/piwik/piwik","labels_url":"https://api.github.com/repos/piwik/piwik/issues/9924/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/9924/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/9924/events","html_url":"https://github.com/piwik/piwik/issues/9924","id":140786045,"number":9924,"title":"Outlinks not being tracked in Firefox","user":{"login":"mgonera","id":11424829,"avatar_url":"https://avatars.githubusercontent.com/u/11424829?v=3","gravatar_id":"","url":"https://api.github.com/users/mgonera","html_url":"https://github.com/mgonera","followers_url":"https://api.github.com/users/mgonera/followers","following_url":"https://api.github.com/users/mgonera/following{/other_user}","gists_url":"https://api.github.com/users/mgonera/gists{/gist_id}","starred_url":"https://api.github.com/users/mgonera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgonera/subscriptions","organizations_url":"https://api.github.com/users/mgonera/orgs","repos_url":"https://api.github.com/users/mgonera/repos","events_url":"https://api.github.com/users/mgonera/events{/privacy}","received_events_url":"https://api.github.com/users/mgonera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-14T20:18:34Z","updated_at":"2016-03-14T20:18:34Z","closed_at":null,"body":"From simple test turns out that outlinks are not being tracked in Firefox. Checked on my Mac on newest stable versions of Chrome and FF, Customer tested on Windows versions. Customer that submitted this bug have come up with a suggestion on what might be wrong:\r\n\r\n> The function \"addEventListener\" line 1189 in \"Piwik.js\" (not minifier version) is not taking into account if the document is loaded or not (readyState === complete ) meaning the functions linked to this one are not executed.\r\n> It could work if piwik.js is altered at the beginning of the \"addEventListener\" function (ligne 1189):\r\n> if (eventType === \"load\" && documentAlias.readyState === \"complete\")\r\n> { eventHandler(); return; }\r\n\r\nPlease review this and mention me with any further info."}}