{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8930","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8930/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8930/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8930/events","html_url":"https://github.com/Automattic/wp-calypso/pull/8930","id":184948761,"number":8930,"title":"Reader: Add in better post permalink tracking.","user":{"login":"blowery","id":14350,"avatar_url":"https://avatars.githubusercontent.com/u/14350?v=3","gravatar_id":"","url":"https://api.github.com/users/blowery","html_url":"https://github.com/blowery","followers_url":"https://api.github.com/users/blowery/followers","following_url":"https://api.github.com/users/blowery/following{/other_user}","gists_url":"https://api.github.com/users/blowery/gists{/gist_id}","starred_url":"https://api.github.com/users/blowery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blowery/subscriptions","organizations_url":"https://api.github.com/users/blowery/orgs","repos_url":"https://api.github.com/users/blowery/repos","events_url":"https://api.github.com/users/blowery/events{/privacy}","received_events_url":"https://api.github.com/users/blowery/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Reader","name":"Reader","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Needs%20Review","name":"[Status] Needs Review","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"blowery","id":14350,"avatar_url":"https://avatars.githubusercontent.com/u/14350?v=3","gravatar_id":"","url":"https://api.github.com/users/blowery","html_url":"https://github.com/blowery","followers_url":"https://api.github.com/users/blowery/followers","following_url":"https://api.github.com/users/blowery/following{/other_user}","gists_url":"https://api.github.com/users/blowery/gists{/gist_id}","starred_url":"https://api.github.com/users/blowery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blowery/subscriptions","organizations_url":"https://api.github.com/users/blowery/orgs","repos_url":"https://api.github.com/users/blowery/repos","events_url":"https://api.github.com/users/blowery/events{/privacy}","received_events_url":"https://api.github.com/users/blowery/received_events","type":"User","site_admin":false},"assignees":[{"login":"blowery","id":14350,"avatar_url":"https://avatars.githubusercontent.com/u/14350?v=3","gravatar_id":"","url":"https://api.github.com/users/blowery","html_url":"https://github.com/blowery","followers_url":"https://api.github.com/users/blowery/followers","following_url":"https://api.github.com/users/blowery/following{/other_user}","gists_url":"https://api.github.com/users/blowery/gists{/gist_id}","starred_url":"https://api.github.com/users/blowery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blowery/subscriptions","organizations_url":"https://api.github.com/users/blowery/orgs","repos_url":"https://api.github.com/users/blowery/repos","events_url":"https://api.github.com/users/blowery/events{/privacy}","received_events_url":"https://api.github.com/users/blowery/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/126","html_url":"https://github.com/Automattic/wp-calypso/milestones/Reader:%20Stream%20Refresh","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones/126/labels","id":1993599,"number":126,"title":"Reader: Stream Refresh","description":null,"creator":{"login":"blowery","id":14350,"avatar_url":"https://avatars.githubusercontent.com/u/14350?v=3","gravatar_id":"","url":"https://api.github.com/users/blowery","html_url":"https://github.com/blowery","followers_url":"https://api.github.com/users/blowery/followers","following_url":"https://api.github.com/users/blowery/following{/other_user}","gists_url":"https://api.github.com/users/blowery/gists{/gist_id}","starred_url":"https://api.github.com/users/blowery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blowery/subscriptions","organizations_url":"https://api.github.com/users/blowery/orgs","repos_url":"https://api.github.com/users/blowery/repos","events_url":"https://api.github.com/users/blowery/events{/privacy}","received_events_url":"https://api.github.com/users/blowery/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":44,"state":"open","created_at":"2016-09-09T14:26:29Z","updated_at":"2016-10-25T18:34:53Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-10-24T20:40:24Z","updated_at":"2016-10-25T19:11:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/8930","html_url":"https://github.com/Automattic/wp-calypso/pull/8930","diff_url":"https://github.com/Automattic/wp-calypso/pull/8930.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/8930.patch"},"body":"Fixes #8791\r\n\r\nThis adds event tracking for the new `visit site` link from #8907 and refactors permalink tracking to take an optional `post` object and updates all the calls into `recordPermalink` to pass a post if it can. \r\n\r\nI also moved the GA event into `recordPermalink` since it was effectively the same everywhere and we can differentiate based on the `where` param.\r\n\r\nTo test, turn on the debugger using `localStorage.debug = 'calypso:analytics'` in the console and try out the various post permalink links in the reader, both with the refreshed streams and the current streams. Toggle them off with `DISABLE_FEATURES=reader/refresh/stream make run`"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/256145879","html_url":"https://github.com/Automattic/wp-calypso/pull/8930#issuecomment-256145879","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/8930","id":256145879,"user":{"login":"samouri","id":4656974,"avatar_url":"https://avatars.githubusercontent.com/u/4656974?v=3","gravatar_id":"","url":"https://api.github.com/users/samouri","html_url":"https://github.com/samouri","followers_url":"https://api.github.com/users/samouri/followers","following_url":"https://api.github.com/users/samouri/following{/other_user}","gists_url":"https://api.github.com/users/samouri/gists{/gist_id}","starred_url":"https://api.github.com/users/samouri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samouri/subscriptions","organizations_url":"https://api.github.com/users/samouri/orgs","repos_url":"https://api.github.com/users/samouri/repos","events_url":"https://api.github.com/users/samouri/events{/privacy}","received_events_url":"https://api.github.com/users/samouri/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T19:11:42Z","updated_at":"2016-10-25T19:11:42Z","body":"Code LGTM.  Good job tidying things up 👍 .\r\nCurrently getting an error in streams when clicking the timestamp permalink:\r\nhttps://cloudup.com/cupNalluMj6"}}
{"actor":{"display_login":"samouri"}}