{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/1048","labels_url":"https://api.github.com/repos/mautic/mautic/issues/1048/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/1048/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/1048/events","html_url":"https://github.com/mautic/mautic/issues/1048","id":113038679,"number":1048,"title":"Feature request - Events / Actions attached to lead.","user":{"login":"krzaknet","id":15265989,"avatar_url":"https://avatars.githubusercontent.com/u/15265989?v=3","gravatar_id":"","url":"https://api.github.com/users/krzaknet","html_url":"https://github.com/krzaknet","followers_url":"https://api.github.com/users/krzaknet/followers","following_url":"https://api.github.com/users/krzaknet/following{/other_user}","gists_url":"https://api.github.com/users/krzaknet/gists{/gist_id}","starred_url":"https://api.github.com/users/krzaknet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzaknet/subscriptions","organizations_url":"https://api.github.com/users/krzaknet/orgs","repos_url":"https://api.github.com/users/krzaknet/repos","events_url":"https://api.github.com/users/krzaknet/events{/privacy}","received_events_url":"https://api.github.com/users/krzaknet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mautic/mautic/labels/Pending%20Feedback","name":"Pending Feedback","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-10-23T15:06:27Z","updated_at":"2015-12-02T17:54:52Z","closed_at":null,"body":"Are you going to implement Events / Actions that leads do? \r\n\r\nEvents can be things like button clicks, scrolling to the bottom of a page, login to page or even things that happen behind the scenes, like a successful credit card charge attached to lead.\r\n\r\nFor example.\r\nUsers issues an invoice in SaaS. \r\nEvent -> lead issues an invoice\r\n\r\nThan I can create an List and filter all leads that issued at least 2 invoices (2 events) for last 14 days.\r\n\r\nI saw such functionality on customer.io (more about events: http://customer.io/docs/events.html)\r\n\r\nRegards,\r\nPiotr "},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/161380259","html_url":"https://github.com/mautic/mautic/issues/1048#issuecomment-161380259","issue_url":"https://api.github.com/repos/mautic/mautic/issues/1048","id":161380259,"user":{"login":"ronnieduke","id":742579,"avatar_url":"https://avatars.githubusercontent.com/u/742579?v=3","gravatar_id":"","url":"https://api.github.com/users/ronnieduke","html_url":"https://github.com/ronnieduke","followers_url":"https://api.github.com/users/ronnieduke/followers","following_url":"https://api.github.com/users/ronnieduke/following{/other_user}","gists_url":"https://api.github.com/users/ronnieduke/gists{/gist_id}","starred_url":"https://api.github.com/users/ronnieduke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronnieduke/subscriptions","organizations_url":"https://api.github.com/users/ronnieduke/orgs","repos_url":"https://api.github.com/users/ronnieduke/repos","events_url":"https://api.github.com/users/ronnieduke/events{/privacy}","received_events_url":"https://api.github.com/users/ronnieduke/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T17:54:52Z","updated_at":"2015-12-02T17:54:52Z","body":"I'm not sure if this is the same thing, but in Marketo, there's a javascript API I can use to send custom activity log events based on on-page activity such as a tab click, video play, or even ajax events like lazy load etc. Something like:\r\n\r\n```\r\n// Add an event to the activity log that the user clicked on Tab 2\r\n$('#tab-nav-2 > a').on('click',function(){\r\n\tMunchkin.munchkinFunction('visitWebPage', {\r\n         url: window.location.href + '#tab-2'\r\n    });\r\n})\r\n```\r\n"}}