{"action":"created","comment":{"url":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls/comments/34068251","id":34068251,"diff_hunk":"@@ -1411,6 +1411,7 @@ Globals should be all caps\n                 '$referring_domain': _.info.referringDomain(document.referrer),\n                 '$device': _.info.device(userAgent)\n             }), {\n+                '$current_url': window.location.href,","path":"mixpanel.js","position":4,"original_position":4,"commit_id":"80c6d0a6375e904a1ef849380d3accad8e907771","original_commit_id":"80c6d0a6375e904a1ef849380d3accad8e907771","user":{"login":"jbwyme","id":556882,"avatar_url":"https://avatars.githubusercontent.com/u/556882?v=3","gravatar_id":"","url":"https://api.github.com/users/jbwyme","html_url":"https://github.com/jbwyme","followers_url":"https://api.github.com/users/jbwyme/followers","following_url":"https://api.github.com/users/jbwyme/following{/other_user}","gists_url":"https://api.github.com/users/jbwyme/gists{/gist_id}","starred_url":"https://api.github.com/users/jbwyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbwyme/subscriptions","organizations_url":"https://api.github.com/users/jbwyme/orgs","repos_url":"https://api.github.com/users/jbwyme/repos","events_url":"https://api.github.com/users/jbwyme/events{/privacy}","received_events_url":"https://api.github.com/users/jbwyme/received_events","type":"User","site_admin":false},"body":"`$current_url` or `$url`?","created_at":"2015-07-07T17:45:57Z","updated_at":"2015-07-07T17:45:57Z","html_url":"https://github.com/mixpanel/mixpanel-js/pull/33#discussion_r34068251","pull_request_url":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls/comments/34068251"},"html":{"href":"https://github.com/mixpanel/mixpanel-js/pull/33#discussion_r34068251"},"pull_request":{"href":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls/33","id":37200810,"html_url":"https://github.com/mixpanel/mixpanel-js/pull/33","diff_url":"https://github.com/mixpanel/mixpanel-js/pull/33.diff","patch_url":"https://github.com/mixpanel/mixpanel-js/pull/33.patch","issue_url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/33","number":33,"state":"open","locked":false,"title":"include a  property representing window.location.href with events by …","user":{"login":"jbwyme","id":556882,"avatar_url":"https://avatars.githubusercontent.com/u/556882?v=3","gravatar_id":"","url":"https://api.github.com/users/jbwyme","html_url":"https://github.com/jbwyme","followers_url":"https://api.github.com/users/jbwyme/followers","following_url":"https://api.github.com/users/jbwyme/following{/other_user}","gists_url":"https://api.github.com/users/jbwyme/gists{/gist_id}","starred_url":"https://api.github.com/users/jbwyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbwyme/subscriptions","organizations_url":"https://api.github.com/users/jbwyme/orgs","repos_url":"https://api.github.com/users/jbwyme/repos","events_url":"https://api.github.com/users/jbwyme/events{/privacy}","received_events_url":"https://api.github.com/users/jbwyme/received_events","type":"User","site_admin":false},"body":"…default","created_at":"2015-06-08T22:02:18Z","updated_at":"2015-07-07T17:45:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"47ad745dd39d932f5bd9d60c651d765f4bd71922","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls/33/commits","review_comments_url":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls/33/comments","review_comment_url":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/33/comments","statuses_url":"https://api.github.com/repos/mixpanel/mixpanel-js/statuses/80c6d0a6375e904a1ef849380d3accad8e907771","head":{"label":"mixpanel:include-current-url","ref":"include-current-url","sha":"80c6d0a6375e904a1ef849380d3accad8e907771","user":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"repo":{"id":19831896,"name":"mixpanel-js","full_name":"mixpanel/mixpanel-js","owner":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mixpanel/mixpanel-js","description":"Official Mixpanel JavaScript Client Library","fork":false,"url":"https://api.github.com/repos/mixpanel/mixpanel-js","forks_url":"https://api.github.com/repos/mixpanel/mixpanel-js/forks","keys_url":"https://api.github.com/repos/mixpanel/mixpanel-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mixpanel/mixpanel-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mixpanel/mixpanel-js/teams","hooks_url":"https://api.github.com/repos/mixpanel/mixpanel-js/hooks","issue_events_url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/events{/number}","events_url":"https://api.github.com/repos/mixpanel/mixpanel-js/events","assignees_url":"https://api.github.com/repos/mixpanel/mixpanel-js/assignees{/user}","branches_url":"https://api.github.com/repos/mixpanel/mixpanel-js/branches{/branch}","tags_url":"https://api.github.com/repos/mixpanel/mixpanel-js/tags","blobs_url":"https://api.github.com/repos/mixpanel/mixpanel-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mixpanel/mixpanel-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mixpanel/mixpanel-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mixpanel/mixpanel-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mixpanel/mixpanel-js/statuses/{sha}","languages_url":"https://api.github.com/repos/mixpanel/mixpanel-js/languages","stargazers_url":"https://api.github.com/repos/mixpanel/mixpanel-js/stargazers","contributors_url":"https://api.github.com/repos/mixpanel/mixpanel-js/contributors","subscribers_url":"https://api.github.com/repos/mixpanel/mixpanel-js/subscribers","subscription_url":"https://api.github.com/repos/mixpanel/mixpanel-js/subscription","commits_url":"https://api.github.com/repos/mixpanel/mixpanel-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mixpanel/mixpanel-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/mixpanel/mixpanel-js/contents/{+path}","compare_url":"https://api.github.com/repos/mixpanel/mixpanel-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mixpanel/mixpanel-js/merges","archive_url":"https://api.github.com/repos/mixpanel/mixpanel-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mixpanel/mixpanel-js/downloads","issues_url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues{/number}","pulls_url":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls{/number}","milestones_url":"https://api.github.com/repos/mixpanel/mixpanel-js/milestones{/number}","notifications_url":"https://api.github.com/repos/mixpanel/mixpanel-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mixpanel/mixpanel-js/labels{/name}","releases_url":"https://api.github.com/repos/mixpanel/mixpanel-js/releases{/id}","created_at":"2014-05-15T19:12:17Z","updated_at":"2015-07-01T08:41:50Z","pushed_at":"2015-07-07T17:33:27Z","git_url":"git://github.com/mixpanel/mixpanel-js.git","ssh_url":"git@github.com:mixpanel/mixpanel-js.git","clone_url":"https://github.com/mixpanel/mixpanel-js.git","svn_url":"https://github.com/mixpanel/mixpanel-js","homepage":"https://mixpanel.com/help/reference/javascript","size":1195,"stargazers_count":38,"watchers_count":38,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":12,"forks":32,"open_issues":12,"watchers":38,"default_branch":"master"}},"base":{"label":"mixpanel:master","ref":"master","sha":"5979cafde800ba6110ab1c0e5ea9633ac9627abd","user":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"repo":{"id":19831896,"name":"mixpanel-js","full_name":"mixpanel/mixpanel-js","owner":{"login":"mixpanel","id":63653,"avatar_url":"https://avatars.githubusercontent.com/u/63653?v=3","gravatar_id":"","url":"https://api.github.com/users/mixpanel","html_url":"https://github.com/mixpanel","followers_url":"https://api.github.com/users/mixpanel/followers","following_url":"https://api.github.com/users/mixpanel/following{/other_user}","gists_url":"https://api.github.com/users/mixpanel/gists{/gist_id}","starred_url":"https://api.github.com/users/mixpanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixpanel/subscriptions","organizations_url":"https://api.github.com/users/mixpanel/orgs","repos_url":"https://api.github.com/users/mixpanel/repos","events_url":"https://api.github.com/users/mixpanel/events{/privacy}","received_events_url":"https://api.github.com/users/mixpanel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mixpanel/mixpanel-js","description":"Official Mixpanel JavaScript Client Library","fork":false,"url":"https://api.github.com/repos/mixpanel/mixpanel-js","forks_url":"https://api.github.com/repos/mixpanel/mixpanel-js/forks","keys_url":"https://api.github.com/repos/mixpanel/mixpanel-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mixpanel/mixpanel-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mixpanel/mixpanel-js/teams","hooks_url":"https://api.github.com/repos/mixpanel/mixpanel-js/hooks","issue_events_url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/events{/number}","events_url":"https://api.github.com/repos/mixpanel/mixpanel-js/events","assignees_url":"https://api.github.com/repos/mixpanel/mixpanel-js/assignees{/user}","branches_url":"https://api.github.com/repos/mixpanel/mixpanel-js/branches{/branch}","tags_url":"https://api.github.com/repos/mixpanel/mixpanel-js/tags","blobs_url":"https://api.github.com/repos/mixpanel/mixpanel-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mixpanel/mixpanel-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mixpanel/mixpanel-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mixpanel/mixpanel-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mixpanel/mixpanel-js/statuses/{sha}","languages_url":"https://api.github.com/repos/mixpanel/mixpanel-js/languages","stargazers_url":"https://api.github.com/repos/mixpanel/mixpanel-js/stargazers","contributors_url":"https://api.github.com/repos/mixpanel/mixpanel-js/contributors","subscribers_url":"https://api.github.com/repos/mixpanel/mixpanel-js/subscribers","subscription_url":"https://api.github.com/repos/mixpanel/mixpanel-js/subscription","commits_url":"https://api.github.com/repos/mixpanel/mixpanel-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mixpanel/mixpanel-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/mixpanel/mixpanel-js/contents/{+path}","compare_url":"https://api.github.com/repos/mixpanel/mixpanel-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mixpanel/mixpanel-js/merges","archive_url":"https://api.github.com/repos/mixpanel/mixpanel-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mixpanel/mixpanel-js/downloads","issues_url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues{/number}","pulls_url":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls{/number}","milestones_url":"https://api.github.com/repos/mixpanel/mixpanel-js/milestones{/number}","notifications_url":"https://api.github.com/repos/mixpanel/mixpanel-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mixpanel/mixpanel-js/labels{/name}","releases_url":"https://api.github.com/repos/mixpanel/mixpanel-js/releases{/id}","created_at":"2014-05-15T19:12:17Z","updated_at":"2015-07-01T08:41:50Z","pushed_at":"2015-07-07T17:33:27Z","git_url":"git://github.com/mixpanel/mixpanel-js.git","ssh_url":"git@github.com:mixpanel/mixpanel-js.git","clone_url":"https://github.com/mixpanel/mixpanel-js.git","svn_url":"https://github.com/mixpanel/mixpanel-js","homepage":"https://mixpanel.com/help/reference/javascript","size":1195,"stargazers_count":38,"watchers_count":38,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":12,"forks":32,"open_issues":12,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls/33"},"html":{"href":"https://github.com/mixpanel/mixpanel-js/pull/33"},"issue":{"href":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/33"},"comments":{"href":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mixpanel/mixpanel-js/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/mixpanel/mixpanel-js/statuses/80c6d0a6375e904a1ef849380d3accad8e907771"}}}}