{"action":"created","issue":{"url":"https://api.github.com/repos/layersoflondon/application/issues/446","repository_url":"https://api.github.com/repos/layersoflondon/application","labels_url":"https://api.github.com/repos/layersoflondon/application/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/layersoflondon/application/issues/446/comments","events_url":"https://api.github.com/repos/layersoflondon/application/issues/446/events","html_url":"https://github.com/layersoflondon/application/issues/446","id":367738656,"node_id":"MDU6SXNzdWUzNjc3Mzg2NTY=","number":446,"title":"Adding data attributes on map markers","user":{"login":"chrisunitt-xx","id":568012,"node_id":"MDQ6VXNlcjU2ODAxMg==","avatar_url":"https://avatars1.githubusercontent.com/u/568012?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisunitt-xx","html_url":"https://github.com/chrisunitt-xx","followers_url":"https://api.github.com/users/chrisunitt-xx/followers","following_url":"https://api.github.com/users/chrisunitt-xx/following{/other_user}","gists_url":"https://api.github.com/users/chrisunitt-xx/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisunitt-xx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisunitt-xx/subscriptions","organizations_url":"https://api.github.com/users/chrisunitt-xx/orgs","repos_url":"https://api.github.com/users/chrisunitt-xx/repos","events_url":"https://api.github.com/users/chrisunitt-xx/events{/privacy}","received_events_url":"https://api.github.com/users/chrisunitt-xx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-08T11:03:36Z","updated_at":"2018-10-08T14:05:00Z","closed_at":null,"author_association":"NONE","body":"We want to know how many people click on map markers.\r\n\r\nAt the moment I'm firing GA event tags when people click an element with a CSS class of 'leaflet-marker-icon leaflet-zoom-animated leaflet-interactive'. Which is a bit brittle. I also can't pick up which record they're clicking.\r\n\r\nTo improve this, could we add data attributes to the markers that look like this?\r\n\r\n`data-tracking-marker=\"{{record name}}\"`"},"comment":{"url":"https://api.github.com/repos/layersoflondon/application/issues/comments/427847249","html_url":"https://github.com/layersoflondon/application/issues/446#issuecomment-427847249","issue_url":"https://api.github.com/repos/layersoflondon/application/issues/446","id":427847249,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzg0NzI0OQ==","user":{"login":"chrisunitt-xx","id":568012,"node_id":"MDQ6VXNlcjU2ODAxMg==","avatar_url":"https://avatars1.githubusercontent.com/u/568012?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisunitt-xx","html_url":"https://github.com/chrisunitt-xx","followers_url":"https://api.github.com/users/chrisunitt-xx/followers","following_url":"https://api.github.com/users/chrisunitt-xx/following{/other_user}","gists_url":"https://api.github.com/users/chrisunitt-xx/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisunitt-xx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisunitt-xx/subscriptions","organizations_url":"https://api.github.com/users/chrisunitt-xx/orgs","repos_url":"https://api.github.com/users/chrisunitt-xx/repos","events_url":"https://api.github.com/users/chrisunitt-xx/events{/privacy}","received_events_url":"https://api.github.com/users/chrisunitt-xx/received_events","type":"User","site_admin":false},"created_at":"2018-10-08T14:05:00Z","updated_at":"2018-10-08T14:05:00Z","author_association":"NONE","body":"recordname+id would be good.\r\n\r\nThis is to show up in reports, so id numbers on their own won't mean a great deal."}}
{"actor":{"display_login":"chrisunitt-xx"}}