{"action":"created","comment":{"url":"https://api.github.com/repos/GuildNetwork/guild-web/pulls/comments/235193605","pull_request_review_id":177004961,"id":235193605,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTE5MzYwNQ==","diff_hunk":"@@ -1958,6 +1958,13 @@\n         }\n         return (await response.json());\n     }\n+    function beacon(url, data) {\n+        const payload = (data && (typeof data !== 'string')) ? JSON.stringify(data) : (data || '');\n+        if (window.navigator.sendBeacon) {\n+            return window.navigator.sendBeacon(url, payload);","path":"dist/guild-nav-embed.js","position":7,"original_position":7,"commit_id":"88ce9a11e8029c7b34019794dbbc663845970f48","original_commit_id":"88ce9a11e8029c7b34019794dbbc663845970f48","user":{"login":"kduffie","id":490307,"node_id":"MDQ6VXNlcjQ5MDMwNw==","avatar_url":"https://avatars3.githubusercontent.com/u/490307?v=4","gravatar_id":"","url":"https://api.github.com/users/kduffie","html_url":"https://github.com/kduffie","followers_url":"https://api.github.com/users/kduffie/followers","following_url":"https://api.github.com/users/kduffie/following{/other_user}","gists_url":"https://api.github.com/users/kduffie/gists{/gist_id}","starred_url":"https://api.github.com/users/kduffie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kduffie/subscriptions","organizations_url":"https://api.github.com/users/kduffie/orgs","repos_url":"https://api.github.com/users/kduffie/repos","events_url":"https://api.github.com/users/kduffie/events{/privacy}","received_events_url":"https://api.github.com/users/kduffie/received_events","type":"User","site_admin":false},"body":"Do you need to check to see if sendBeacon exists?  Just in case it is an old browser.  ","created_at":"2018-11-20T22:31:48Z","updated_at":"2018-11-20T22:31:48Z","html_url":"https://github.com/GuildNetwork/guild-web/pull/242#discussion_r235193605","pull_request_url":"https://api.github.com/repos/GuildNetwork/guild-web/pulls/242","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/GuildNetwork/guild-web/pulls/comments/235193605"},"html":{"href":"https://github.com/GuildNetwork/guild-web/pull/242#discussion_r235193605"},"pull_request":{"href":"https://api.github.com/repos/GuildNetwork/guild-web/pulls/242"}}},"pull_request":{"url":"https://api.github.com/repos/GuildNetwork/guild-web/pulls/242","id":232447096,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNDQ3MDk2","html_url":"https://github.com/GuildNetwork/guild-web/pull/242","diff_url":"https://github.com/GuildNetwork/guild-web/pull/242.diff","patch_url":"https://github.com/GuildNetwork/guild-web/pull/242.patch","issue_url":"https://api.github.com/repos/GuildNetwork/guild-web/issues/242","number":242,"state":"open","locked":false,"title":"Use beacons to report pings and nav actions","user":{"login":"pshihn","id":833927,"node_id":"MDQ6VXNlcjgzMzkyNw==","avatar_url":"https://avatars1.githubusercontent.com/u/833927?v=4","gravatar_id":"","url":"https://api.github.com/users/pshihn","html_url":"https://github.com/pshihn","followers_url":"https://api.github.com/users/pshihn/followers","following_url":"https://api.github.com/users/pshihn/following{/other_user}","gists_url":"https://api.github.com/users/pshihn/gists{/gist_id}","starred_url":"https://api.github.com/users/pshihn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pshihn/subscriptions","organizations_url":"https://api.github.com/users/pshihn/orgs","repos_url":"https://api.github.com/users/pshihn/repos","events_url":"https://api.github.com/users/pshihn/events{/privacy}","received_events_url":"https://api.github.com/users/pshihn/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-20T20:19:29Z","updated_at":"2018-11-20T22:31:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a1d179ad78b041c93d7eee4104b030e12fa3b298","assignee":{"login":"kduffie","id":490307,"node_id":"MDQ6VXNlcjQ5MDMwNw==","avatar_url":"https://avatars3.githubusercontent.com/u/490307?v=4","gravatar_id":"","url":"https://api.github.com/users/kduffie","html_url":"https://github.com/kduffie","followers_url":"https://api.github.com/users/kduffie/followers","following_url":"https://api.github.com/users/kduffie/following{/other_user}","gists_url":"https://api.github.com/users/kduffie/gists{/gist_id}","starred_url":"https://api.github.com/users/kduffie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kduffie/subscriptions","organizations_url":"https://api.github.com/users/kduffie/orgs","repos_url":"https://api.github.com/users/kduffie/repos","events_url":"https://api.github.com/users/kduffie/events{/privacy}","received_events_url":"https://api.github.com/users/kduffie/received_events","type":"User","site_admin":false},"assignees":[{"login":"kduffie","id":490307,"node_id":"MDQ6VXNlcjQ5MDMwNw==","avatar_url":"https://avatars3.githubusercontent.com/u/490307?v=4","gravatar_id":"","url":"https://api.github.com/users/kduffie","html_url":"https://github.com/kduffie","followers_url":"https://api.github.com/users/kduffie/followers","following_url":"https://api.github.com/users/kduffie/following{/other_user}","gists_url":"https://api.github.com/users/kduffie/gists{/gist_id}","starred_url":"https://api.github.com/users/kduffie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kduffie/subscriptions","organizations_url":"https://api.github.com/users/kduffie/orgs","repos_url":"https://api.github.com/users/kduffie/repos","events_url":"https://api.github.com/users/kduffie/events{/privacy}","received_events_url":"https://api.github.com/users/kduffie/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/GuildNetwork/guild-web/pulls/242/commits","review_comments_url":"https://api.github.com/repos/GuildNetwork/guild-web/pulls/242/comments","review_comment_url":"https://api.github.com/repos/GuildNetwork/guild-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GuildNetwork/guild-web/issues/242/comments","statuses_url":"https://api.github.com/repos/GuildNetwork/guild-web/statuses/88ce9a11e8029c7b34019794dbbc663845970f48","head":{"label":"GuildNetwork:f/beacons","ref":"f/beacons","sha":"88ce9a11e8029c7b34019794dbbc663845970f48","user":{"login":"GuildNetwork","id":38798784,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4Nzk4Nzg0","avatar_url":"https://avatars1.githubusercontent.com/u/38798784?v=4","gravatar_id":"","url":"https://api.github.com/users/GuildNetwork","html_url":"https://github.com/GuildNetwork","followers_url":"https://api.github.com/users/GuildNetwork/followers","following_url":"https://api.github.com/users/GuildNetwork/following{/other_user}","gists_url":"https://api.github.com/users/GuildNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/GuildNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuildNetwork/subscriptions","organizations_url":"https://api.github.com/users/GuildNetwork/orgs","repos_url":"https://api.github.com/users/GuildNetwork/repos","events_url":"https://api.github.com/users/GuildNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/GuildNetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":131884127,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE4ODQxMjc=","name":"guild-web","full_name":"GuildNetwork/guild-web","private":false,"owner":{"login":"GuildNetwork","id":38798784,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4Nzk4Nzg0","avatar_url":"https://avatars1.githubusercontent.com/u/38798784?v=4","gravatar_id":"","url":"https://api.github.com/users/GuildNetwork","html_url":"https://github.com/GuildNetwork","followers_url":"https://api.github.com/users/GuildNetwork/followers","following_url":"https://api.github.com/users/GuildNetwork/following{/other_user}","gists_url":"https://api.github.com/users/GuildNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/GuildNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuildNetwork/subscriptions","organizations_url":"https://api.github.com/users/GuildNetwork/orgs","repos_url":"https://api.github.com/users/GuildNetwork/repos","events_url":"https://api.github.com/users/GuildNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/GuildNetwork/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/GuildNetwork/guild-web","description":"Web client for guild network","fork":false,"url":"https://api.github.com/repos/GuildNetwork/guild-web","forks_url":"https://api.github.com/repos/GuildNetwork/guild-web/forks","keys_url":"https://api.github.com/repos/GuildNetwork/guild-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GuildNetwork/guild-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GuildNetwork/guild-web/teams","hooks_url":"https://api.github.com/repos/GuildNetwork/guild-web/hooks","issue_events_url":"https://api.github.com/repos/GuildNetwork/guild-web/issues/events{/number}","events_url":"https://api.github.com/repos/GuildNetwork/guild-web/events","assignees_url":"https://api.github.com/repos/GuildNetwork/guild-web/assignees{/user}","branches_url":"https://api.github.com/repos/GuildNetwork/guild-web/branches{/branch}","tags_url":"https://api.github.com/repos/GuildNetwork/guild-web/tags","blobs_url":"https://api.github.com/repos/GuildNetwork/guild-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GuildNetwork/guild-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GuildNetwork/guild-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/GuildNetwork/guild-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GuildNetwork/guild-web/statuses/{sha}","languages_url":"https://api.github.com/repos/GuildNetwork/guild-web/languages","stargazers_url":"https://api.github.com/repos/GuildNetwork/guild-web/stargazers","contributors_url":"https://api.github.com/repos/GuildNetwork/guild-web/contributors","subscribers_url":"https://api.github.com/repos/GuildNetwork/guild-web/subscribers","subscription_url":"https://api.github.com/repos/GuildNetwork/guild-web/subscription","commits_url":"https://api.github.com/repos/GuildNetwork/guild-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/GuildNetwork/guild-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/GuildNetwork/guild-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/GuildNetwork/guild-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/GuildNetwork/guild-web/contents/{+path}","compare_url":"https://api.github.com/repos/GuildNetwork/guild-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GuildNetwork/guild-web/merges","archive_url":"https://api.github.com/repos/GuildNetwork/guild-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GuildNetwork/guild-web/downloads","issues_url":"https://api.github.com/repos/GuildNetwork/guild-web/issues{/number}","pulls_url":"https://api.github.com/repos/GuildNetwork/guild-web/pulls{/number}","milestones_url":"https://api.github.com/repos/GuildNetwork/guild-web/milestones{/number}","notifications_url":"https://api.github.com/repos/GuildNetwork/guild-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GuildNetwork/guild-web/labels{/name}","releases_url":"https://api.github.com/repos/GuildNetwork/guild-web/releases{/id}","deployments_url":"https://api.github.com/repos/GuildNetwork/guild-web/deployments","created_at":"2018-05-02T17:26:44Z","updated_at":"2018-11-20T19:24:11Z","pushed_at":"2018-11-20T20:19:30Z","git_url":"git://github.com/GuildNetwork/guild-web.git","ssh_url":"git@github.com:GuildNetwork/guild-web.git","clone_url":"https://github.com/GuildNetwork/guild-web.git","svn_url":"https://github.com/GuildNetwork/guild-web","homepage":null,"size":12313,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"GuildNetwork:master","ref":"master","sha":"22db7adbb224b1e3e08687e84757b503aaeede05","user":{"login":"GuildNetwork","id":38798784,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4Nzk4Nzg0","avatar_url":"https://avatars1.githubusercontent.com/u/38798784?v=4","gravatar_id":"","url":"https://api.github.com/users/GuildNetwork","html_url":"https://github.com/GuildNetwork","followers_url":"https://api.github.com/users/GuildNetwork/followers","following_url":"https://api.github.com/users/GuildNetwork/following{/other_user}","gists_url":"https://api.github.com/users/GuildNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/GuildNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuildNetwork/subscriptions","organizations_url":"https://api.github.com/users/GuildNetwork/orgs","repos_url":"https://api.github.com/users/GuildNetwork/repos","events_url":"https://api.github.com/users/GuildNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/GuildNetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":131884127,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE4ODQxMjc=","name":"guild-web","full_name":"GuildNetwork/guild-web","private":false,"owner":{"login":"GuildNetwork","id":38798784,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4Nzk4Nzg0","avatar_url":"https://avatars1.githubusercontent.com/u/38798784?v=4","gravatar_id":"","url":"https://api.github.com/users/GuildNetwork","html_url":"https://github.com/GuildNetwork","followers_url":"https://api.github.com/users/GuildNetwork/followers","following_url":"https://api.github.com/users/GuildNetwork/following{/other_user}","gists_url":"https://api.github.com/users/GuildNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/GuildNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuildNetwork/subscriptions","organizations_url":"https://api.github.com/users/GuildNetwork/orgs","repos_url":"https://api.github.com/users/GuildNetwork/repos","events_url":"https://api.github.com/users/GuildNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/GuildNetwork/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/GuildNetwork/guild-web","description":"Web client for guild network","fork":false,"url":"https://api.github.com/repos/GuildNetwork/guild-web","forks_url":"https://api.github.com/repos/GuildNetwork/guild-web/forks","keys_url":"https://api.github.com/repos/GuildNetwork/guild-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GuildNetwork/guild-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GuildNetwork/guild-web/teams","hooks_url":"https://api.github.com/repos/GuildNetwork/guild-web/hooks","issue_events_url":"https://api.github.com/repos/GuildNetwork/guild-web/issues/events{/number}","events_url":"https://api.github.com/repos/GuildNetwork/guild-web/events","assignees_url":"https://api.github.com/repos/GuildNetwork/guild-web/assignees{/user}","branches_url":"https://api.github.com/repos/GuildNetwork/guild-web/branches{/branch}","tags_url":"https://api.github.com/repos/GuildNetwork/guild-web/tags","blobs_url":"https://api.github.com/repos/GuildNetwork/guild-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GuildNetwork/guild-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GuildNetwork/guild-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/GuildNetwork/guild-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GuildNetwork/guild-web/statuses/{sha}","languages_url":"https://api.github.com/repos/GuildNetwork/guild-web/languages","stargazers_url":"https://api.github.com/repos/GuildNetwork/guild-web/stargazers","contributors_url":"https://api.github.com/repos/GuildNetwork/guild-web/contributors","subscribers_url":"https://api.github.com/repos/GuildNetwork/guild-web/subscribers","subscription_url":"https://api.github.com/repos/GuildNetwork/guild-web/subscription","commits_url":"https://api.github.com/repos/GuildNetwork/guild-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/GuildNetwork/guild-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/GuildNetwork/guild-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/GuildNetwork/guild-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/GuildNetwork/guild-web/contents/{+path}","compare_url":"https://api.github.com/repos/GuildNetwork/guild-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GuildNetwork/guild-web/merges","archive_url":"https://api.github.com/repos/GuildNetwork/guild-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GuildNetwork/guild-web/downloads","issues_url":"https://api.github.com/repos/GuildNetwork/guild-web/issues{/number}","pulls_url":"https://api.github.com/repos/GuildNetwork/guild-web/pulls{/number}","milestones_url":"https://api.github.com/repos/GuildNetwork/guild-web/milestones{/number}","notifications_url":"https://api.github.com/repos/GuildNetwork/guild-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GuildNetwork/guild-web/labels{/name}","releases_url":"https://api.github.com/repos/GuildNetwork/guild-web/releases{/id}","deployments_url":"https://api.github.com/repos/GuildNetwork/guild-web/deployments","created_at":"2018-05-02T17:26:44Z","updated_at":"2018-11-20T19:24:11Z","pushed_at":"2018-11-20T20:19:30Z","git_url":"git://github.com/GuildNetwork/guild-web.git","ssh_url":"git@github.com:GuildNetwork/guild-web.git","clone_url":"https://github.com/GuildNetwork/guild-web.git","svn_url":"https://github.com/GuildNetwork/guild-web","homepage":null,"size":12313,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GuildNetwork/guild-web/pulls/242"},"html":{"href":"https://github.com/GuildNetwork/guild-web/pull/242"},"issue":{"href":"https://api.github.com/repos/GuildNetwork/guild-web/issues/242"},"comments":{"href":"https://api.github.com/repos/GuildNetwork/guild-web/issues/242/comments"},"review_comments":{"href":"https://api.github.com/repos/GuildNetwork/guild-web/pulls/242/comments"},"review_comment":{"href":"https://api.github.com/repos/GuildNetwork/guild-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GuildNetwork/guild-web/pulls/242/commits"},"statuses":{"href":"https://api.github.com/repos/GuildNetwork/guild-web/statuses/88ce9a11e8029c7b34019794dbbc663845970f48"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kduffie"}}