{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/pulls/5","id":153458316,"html_url":"https://github.com/spodlecki/videojs-event-tracking/pull/5","diff_url":"https://github.com/spodlecki/videojs-event-tracking/pull/5.diff","patch_url":"https://github.com/spodlecki/videojs-event-tracking/pull/5.patch","issue_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/issues/5","number":5,"state":"open","locked":false,"title":"when a user unloads the page, trigger performance event","user":{"login":"spodlecki","id":1273570,"avatar_url":"https://avatars3.githubusercontent.com/u/1273570?v=4","gravatar_id":"","url":"https://api.github.com/users/spodlecki","html_url":"https://github.com/spodlecki","followers_url":"https://api.github.com/users/spodlecki/followers","following_url":"https://api.github.com/users/spodlecki/following{/other_user}","gists_url":"https://api.github.com/users/spodlecki/gists{/gist_id}","starred_url":"https://api.github.com/users/spodlecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spodlecki/subscriptions","organizations_url":"https://api.github.com/users/spodlecki/orgs","repos_url":"https://api.github.com/users/spodlecki/repos","events_url":"https://api.github.com/users/spodlecki/events{/privacy}","received_events_url":"https://api.github.com/users/spodlecki/received_events","type":"User","site_admin":false},"body":"Adds event listener that will trigger before the user closes the browser. This should help with performance tracking accuracy.","created_at":"2017-11-18T17:05:18Z","updated_at":"2017-11-18T17:05:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/pulls/5/commits","review_comments_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/pulls/5/comments","review_comment_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/issues/5/comments","statuses_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/statuses/14647124c6e25339ad550abb9ad8423c1197fec9","head":{"label":"spodlecki:sp-windowunload","ref":"sp-windowunload","sha":"14647124c6e25339ad550abb9ad8423c1197fec9","user":{"login":"spodlecki","id":1273570,"avatar_url":"https://avatars3.githubusercontent.com/u/1273570?v=4","gravatar_id":"","url":"https://api.github.com/users/spodlecki","html_url":"https://github.com/spodlecki","followers_url":"https://api.github.com/users/spodlecki/followers","following_url":"https://api.github.com/users/spodlecki/following{/other_user}","gists_url":"https://api.github.com/users/spodlecki/gists{/gist_id}","starred_url":"https://api.github.com/users/spodlecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spodlecki/subscriptions","organizations_url":"https://api.github.com/users/spodlecki/orgs","repos_url":"https://api.github.com/users/spodlecki/repos","events_url":"https://api.github.com/users/spodlecki/events{/privacy}","received_events_url":"https://api.github.com/users/spodlecki/received_events","type":"User","site_admin":false},"repo":{"id":108788255,"name":"videojs-event-tracking","full_name":"spodlecki/videojs-event-tracking","owner":{"login":"spodlecki","id":1273570,"avatar_url":"https://avatars3.githubusercontent.com/u/1273570?v=4","gravatar_id":"","url":"https://api.github.com/users/spodlecki","html_url":"https://github.com/spodlecki","followers_url":"https://api.github.com/users/spodlecki/followers","following_url":"https://api.github.com/users/spodlecki/following{/other_user}","gists_url":"https://api.github.com/users/spodlecki/gists{/gist_id}","starred_url":"https://api.github.com/users/spodlecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spodlecki/subscriptions","organizations_url":"https://api.github.com/users/spodlecki/orgs","repos_url":"https://api.github.com/users/spodlecki/repos","events_url":"https://api.github.com/users/spodlecki/events{/privacy}","received_events_url":"https://api.github.com/users/spodlecki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spodlecki/videojs-event-tracking","description":"Track events with VideoJS and keep an eye on performance metrics","fork":false,"url":"https://api.github.com/repos/spodlecki/videojs-event-tracking","forks_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/forks","keys_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/teams","hooks_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/hooks","issue_events_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/issues/events{/number}","events_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/events","assignees_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/assignees{/user}","branches_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/branches{/branch}","tags_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/tags","blobs_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/git/refs{/sha}","trees_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/statuses/{sha}","languages_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/languages","stargazers_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/stargazers","contributors_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/contributors","subscribers_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/subscribers","subscription_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/subscription","commits_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/commits{/sha}","git_commits_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/git/commits{/sha}","comments_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/comments{/number}","issue_comment_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/issues/comments{/number}","contents_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/contents/{+path}","compare_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/merges","archive_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/downloads","issues_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/issues{/number}","pulls_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/pulls{/number}","milestones_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/milestones{/number}","notifications_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/labels{/name}","releases_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/releases{/id}","deployments_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/deployments","created_at":"2017-10-30T01:44:00Z","updated_at":"2017-11-01T15:34:25Z","pushed_at":"2017-11-18T17:04:11Z","git_url":"git://github.com/spodlecki/videojs-event-tracking.git","ssh_url":"git@github.com:spodlecki/videojs-event-tracking.git","clone_url":"https://github.com/spodlecki/videojs-event-tracking.git","svn_url":"https://github.com/spodlecki/videojs-event-tracking","homepage":"","size":24,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"spodlecki:master","ref":"master","sha":"69ed963338e15d694040eeab7def3e3da10cd8ba","user":{"login":"spodlecki","id":1273570,"avatar_url":"https://avatars3.githubusercontent.com/u/1273570?v=4","gravatar_id":"","url":"https://api.github.com/users/spodlecki","html_url":"https://github.com/spodlecki","followers_url":"https://api.github.com/users/spodlecki/followers","following_url":"https://api.github.com/users/spodlecki/following{/other_user}","gists_url":"https://api.github.com/users/spodlecki/gists{/gist_id}","starred_url":"https://api.github.com/users/spodlecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spodlecki/subscriptions","organizations_url":"https://api.github.com/users/spodlecki/orgs","repos_url":"https://api.github.com/users/spodlecki/repos","events_url":"https://api.github.com/users/spodlecki/events{/privacy}","received_events_url":"https://api.github.com/users/spodlecki/received_events","type":"User","site_admin":false},"repo":{"id":108788255,"name":"videojs-event-tracking","full_name":"spodlecki/videojs-event-tracking","owner":{"login":"spodlecki","id":1273570,"avatar_url":"https://avatars3.githubusercontent.com/u/1273570?v=4","gravatar_id":"","url":"https://api.github.com/users/spodlecki","html_url":"https://github.com/spodlecki","followers_url":"https://api.github.com/users/spodlecki/followers","following_url":"https://api.github.com/users/spodlecki/following{/other_user}","gists_url":"https://api.github.com/users/spodlecki/gists{/gist_id}","starred_url":"https://api.github.com/users/spodlecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spodlecki/subscriptions","organizations_url":"https://api.github.com/users/spodlecki/orgs","repos_url":"https://api.github.com/users/spodlecki/repos","events_url":"https://api.github.com/users/spodlecki/events{/privacy}","received_events_url":"https://api.github.com/users/spodlecki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spodlecki/videojs-event-tracking","description":"Track events with VideoJS and keep an eye on performance metrics","fork":false,"url":"https://api.github.com/repos/spodlecki/videojs-event-tracking","forks_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/forks","keys_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/teams","hooks_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/hooks","issue_events_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/issues/events{/number}","events_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/events","assignees_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/assignees{/user}","branches_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/branches{/branch}","tags_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/tags","blobs_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/git/refs{/sha}","trees_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/statuses/{sha}","languages_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/languages","stargazers_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/stargazers","contributors_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/contributors","subscribers_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/subscribers","subscription_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/subscription","commits_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/commits{/sha}","git_commits_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/git/commits{/sha}","comments_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/comments{/number}","issue_comment_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/issues/comments{/number}","contents_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/contents/{+path}","compare_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/merges","archive_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/downloads","issues_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/issues{/number}","pulls_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/pulls{/number}","milestones_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/milestones{/number}","notifications_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/labels{/name}","releases_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/releases{/id}","deployments_url":"https://api.github.com/repos/spodlecki/videojs-event-tracking/deployments","created_at":"2017-10-30T01:44:00Z","updated_at":"2017-11-01T15:34:25Z","pushed_at":"2017-11-18T17:04:11Z","git_url":"git://github.com/spodlecki/videojs-event-tracking.git","ssh_url":"git@github.com:spodlecki/videojs-event-tracking.git","clone_url":"https://github.com/spodlecki/videojs-event-tracking.git","svn_url":"https://github.com/spodlecki/videojs-event-tracking","homepage":"","size":24,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spodlecki/videojs-event-tracking/pulls/5"},"html":{"href":"https://github.com/spodlecki/videojs-event-tracking/pull/5"},"issue":{"href":"https://api.github.com/repos/spodlecki/videojs-event-tracking/issues/5"},"comments":{"href":"https://api.github.com/repos/spodlecki/videojs-event-tracking/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/spodlecki/videojs-event-tracking/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/spodlecki/videojs-event-tracking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spodlecki/videojs-event-tracking/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/spodlecki/videojs-event-tracking/statuses/14647124c6e25339ad550abb9ad8423c1197fec9"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":8,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"spodlecki"}}