{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/5287","labels_url":"https://api.github.com/repos/piwik/piwik/issues/5287/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/5287/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/5287/events","html_url":"https://github.com/piwik/piwik/issues/5287","id":37355928,"number":5287,"title":"Track file download and outlinks when user does a right click","user":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/piwik/piwik/labels/Enhancement","name":"Enhancement","color":"bfd4f2"},{"url":"https://api.github.com/repos/piwik/piwik/labels/Major","name":"Major","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"tsteur","id":273120,"avatar_url":"https://avatars.githubusercontent.com/u/273120?v=3","gravatar_id":"","url":"https://api.github.com/users/tsteur","html_url":"https://github.com/tsteur","followers_url":"https://api.github.com/users/tsteur/followers","following_url":"https://api.github.com/users/tsteur/following{/other_user}","gists_url":"https://api.github.com/users/tsteur/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteur/subscriptions","organizations_url":"https://api.github.com/users/tsteur/orgs","repos_url":"https://api.github.com/users/tsteur/repos","events_url":"https://api.github.com/users/tsteur/events{/privacy}","received_events_url":"https://api.github.com/users/tsteur/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/piwik/piwik/milestones/79","html_url":"https://github.com/piwik/piwik/milestones/2.14.0","labels_url":"https://api.github.com/repos/piwik/piwik/milestones/79/labels","id":1005076,"number":79,"title":"2.14.0","description":"","creator":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":115,"state":"open","created_at":"2015-03-04T03:03:44Z","updated_at":"2015-06-08T05:29:07Z","due_on":"2015-06-09T12:00:00Z","closed_at":null},"comments":12,"created_at":"2014-06-03T13:53:54Z","updated_at":"2015-06-08T22:22:33Z","closed_at":null,"body":"Currently the file download automatic link tracker and the Outlink link tracker, do not track clicks from right button. This was reported in [forums](http://forum.piwik.org/read.php?2,116289)\n\nFollows up #661, #752\n"},"comment":{"url":"https://api.github.com/repos/piwik/piwik/issues/comments/110161876","html_url":"https://github.com/piwik/piwik/issues/5287#issuecomment-110161876","issue_url":"https://api.github.com/repos/piwik/piwik/issues/5287","id":110161876,"user":{"login":"tsteur","id":273120,"avatar_url":"https://avatars.githubusercontent.com/u/273120?v=3","gravatar_id":"","url":"https://api.github.com/users/tsteur","html_url":"https://github.com/tsteur","followers_url":"https://api.github.com/users/tsteur/followers","following_url":"https://api.github.com/users/tsteur/following{/other_user}","gists_url":"https://api.github.com/users/tsteur/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteur/subscriptions","organizations_url":"https://api.github.com/users/tsteur/orgs","repos_url":"https://api.github.com/users/tsteur/repos","events_url":"https://api.github.com/users/tsteur/events{/privacy}","received_events_url":"https://api.github.com/users/tsteur/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T22:22:33Z","updated_at":"2015-06-08T22:22:33Z","body":"> you are right, there is no problem making it opt-in first and later\r\nopt-out. This is a good solution let's do it :+1:\r\n\r\nturns out there was always such an opt-in already that can be easily reused. `tracker.enableLinkTracking(var enable = true)`. `enable` can be set to true to detect middle clicks and to treat them as a \"left click\". We will reuse this to also treat \"right click/open contextmenu\" as \"left click\""}}