{"action":"created","comment":{"url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls/comments/71582576","id":71582576,"diff_hunk":"@@ -70,12 +70,16 @@ exports.track = function(track, settings) {\n   var result = createPageDataForm(track, createCommonGAForm(track, settings));\n   var library = track.proxy('context.library');\n   var screenName = track.proxy('properties.screenName');\n+  var url = track.proxy('context.page.url') || track.proxy('properties.url');","path":"lib/universal/mapper.js","position":4,"original_position":4,"commit_id":"65dd4f273dd940a7b373b36c196da2f48439150b","original_commit_id":"65dd4f273dd940a7b373b36c196da2f48439150b","user":{"login":"f2prateek","id":843979,"avatar_url":"https://avatars.githubusercontent.com/u/843979?v=3","gravatar_id":"","url":"https://api.github.com/users/f2prateek","html_url":"https://github.com/f2prateek","followers_url":"https://api.github.com/users/f2prateek/followers","following_url":"https://api.github.com/users/f2prateek/following{/other_user}","gists_url":"https://api.github.com/users/f2prateek/gists{/gist_id}","starred_url":"https://api.github.com/users/f2prateek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f2prateek/subscriptions","organizations_url":"https://api.github.com/users/f2prateek/orgs","repos_url":"https://api.github.com/users/f2prateek/repos","events_url":"https://api.github.com/users/f2prateek/events{/privacy}","received_events_url":"https://api.github.com/users/f2prateek/received_events","type":"User","site_admin":false},"body":"Should only be `context.page.url`","created_at":"2016-07-20T18:40:26Z","updated_at":"2016-07-20T18:40:26Z","html_url":"https://github.com/segment-integrations/integration-google-analytics/pull/42#discussion_r71582576","pull_request_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls/comments/71582576"},"html":{"href":"https://github.com/segment-integrations/integration-google-analytics/pull/42#discussion_r71582576"},"pull_request":{"href":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls/42","id":78180157,"html_url":"https://github.com/segment-integrations/integration-google-analytics/pull/42","diff_url":"https://github.com/segment-integrations/integration-google-analytics/pull/42.diff","patch_url":"https://github.com/segment-integrations/integration-google-analytics/pull/42.patch","issue_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/issues/42","number":42,"state":"open","locked":false,"title":"Add name for track calls so that you can segment events by screen name.","user":{"login":"brennan","id":11224497,"avatar_url":"https://avatars.githubusercontent.com/u/11224497?v=3","gravatar_id":"","url":"https://api.github.com/users/brennan","html_url":"https://github.com/brennan","followers_url":"https://api.github.com/users/brennan/followers","following_url":"https://api.github.com/users/brennan/following{/other_user}","gists_url":"https://api.github.com/users/brennan/gists{/gist_id}","starred_url":"https://api.github.com/users/brennan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brennan/subscriptions","organizations_url":"https://api.github.com/users/brennan/orgs","repos_url":"https://api.github.com/users/brennan/repos","events_url":"https://api.github.com/users/brennan/events{/privacy}","received_events_url":"https://api.github.com/users/brennan/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-20T16:41:35Z","updated_at":"2016-07-20T18:40:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6376302d0971b533126f80a52f37156e14574ae","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls/42/commits","review_comments_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls/42/comments","review_comment_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/issues/42/comments","statuses_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/statuses/65dd4f273dd940a7b373b36c196da2f48439150b","head":{"label":"segment-integrations:map-screenname-to-screen-name","ref":"map-screenname-to-screen-name","sha":"65dd4f273dd940a7b373b36c196da2f48439150b","user":{"login":"segment-integrations","id":11207740,"avatar_url":"https://avatars.githubusercontent.com/u/11207740?v=3","gravatar_id":"","url":"https://api.github.com/users/segment-integrations","html_url":"https://github.com/segment-integrations","followers_url":"https://api.github.com/users/segment-integrations/followers","following_url":"https://api.github.com/users/segment-integrations/following{/other_user}","gists_url":"https://api.github.com/users/segment-integrations/gists{/gist_id}","starred_url":"https://api.github.com/users/segment-integrations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segment-integrations/subscriptions","organizations_url":"https://api.github.com/users/segment-integrations/orgs","repos_url":"https://api.github.com/users/segment-integrations/repos","events_url":"https://api.github.com/users/segment-integrations/events{/privacy}","received_events_url":"https://api.github.com/users/segment-integrations/received_events","type":"Organization","site_admin":false},"repo":{"id":26639837,"name":"integration-google-analytics","full_name":"segment-integrations/integration-google-analytics","owner":{"login":"segment-integrations","id":11207740,"avatar_url":"https://avatars.githubusercontent.com/u/11207740?v=3","gravatar_id":"","url":"https://api.github.com/users/segment-integrations","html_url":"https://github.com/segment-integrations","followers_url":"https://api.github.com/users/segment-integrations/followers","following_url":"https://api.github.com/users/segment-integrations/following{/other_user}","gists_url":"https://api.github.com/users/segment-integrations/gists{/gist_id}","starred_url":"https://api.github.com/users/segment-integrations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segment-integrations/subscriptions","organizations_url":"https://api.github.com/users/segment-integrations/orgs","repos_url":"https://api.github.com/users/segment-integrations/repos","events_url":"https://api.github.com/users/segment-integrations/events{/privacy}","received_events_url":"https://api.github.com/users/segment-integrations/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/segment-integrations/integration-google-analytics","description":"Google Analytics server-side integration","fork":false,"url":"https://api.github.com/repos/segment-integrations/integration-google-analytics","forks_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/forks","keys_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/teams","hooks_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/hooks","issue_events_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/issues/events{/number}","events_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/events","assignees_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/assignees{/user}","branches_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/branches{/branch}","tags_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/tags","blobs_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/languages","stargazers_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/stargazers","contributors_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/contributors","subscribers_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/subscribers","subscription_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/subscription","commits_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/contents/{+path}","compare_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/merges","archive_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/downloads","issues_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/issues{/number}","pulls_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/labels{/name}","releases_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/releases{/id}","deployments_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/deployments","created_at":"2014-11-14T13:31:37Z","updated_at":"2016-06-08T17:49:47Z","pushed_at":"2016-07-20T16:41:36Z","git_url":"git://github.com/segment-integrations/integration-google-analytics.git","ssh_url":"git@github.com:segment-integrations/integration-google-analytics.git","clone_url":"https://github.com/segment-integrations/integration-google-analytics.git","svn_url":"https://github.com/segment-integrations/integration-google-analytics","homepage":"segment.com","size":127,"stargazers_count":21,"watchers_count":21,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":21,"default_branch":"master"}},"base":{"label":"segment-integrations:master","ref":"master","sha":"34864c3b6be6b6984913fe6c70632838ee023916","user":{"login":"segment-integrations","id":11207740,"avatar_url":"https://avatars.githubusercontent.com/u/11207740?v=3","gravatar_id":"","url":"https://api.github.com/users/segment-integrations","html_url":"https://github.com/segment-integrations","followers_url":"https://api.github.com/users/segment-integrations/followers","following_url":"https://api.github.com/users/segment-integrations/following{/other_user}","gists_url":"https://api.github.com/users/segment-integrations/gists{/gist_id}","starred_url":"https://api.github.com/users/segment-integrations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segment-integrations/subscriptions","organizations_url":"https://api.github.com/users/segment-integrations/orgs","repos_url":"https://api.github.com/users/segment-integrations/repos","events_url":"https://api.github.com/users/segment-integrations/events{/privacy}","received_events_url":"https://api.github.com/users/segment-integrations/received_events","type":"Organization","site_admin":false},"repo":{"id":26639837,"name":"integration-google-analytics","full_name":"segment-integrations/integration-google-analytics","owner":{"login":"segment-integrations","id":11207740,"avatar_url":"https://avatars.githubusercontent.com/u/11207740?v=3","gravatar_id":"","url":"https://api.github.com/users/segment-integrations","html_url":"https://github.com/segment-integrations","followers_url":"https://api.github.com/users/segment-integrations/followers","following_url":"https://api.github.com/users/segment-integrations/following{/other_user}","gists_url":"https://api.github.com/users/segment-integrations/gists{/gist_id}","starred_url":"https://api.github.com/users/segment-integrations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segment-integrations/subscriptions","organizations_url":"https://api.github.com/users/segment-integrations/orgs","repos_url":"https://api.github.com/users/segment-integrations/repos","events_url":"https://api.github.com/users/segment-integrations/events{/privacy}","received_events_url":"https://api.github.com/users/segment-integrations/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/segment-integrations/integration-google-analytics","description":"Google Analytics server-side integration","fork":false,"url":"https://api.github.com/repos/segment-integrations/integration-google-analytics","forks_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/forks","keys_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/teams","hooks_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/hooks","issue_events_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/issues/events{/number}","events_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/events","assignees_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/assignees{/user}","branches_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/branches{/branch}","tags_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/tags","blobs_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/languages","stargazers_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/stargazers","contributors_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/contributors","subscribers_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/subscribers","subscription_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/subscription","commits_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/contents/{+path}","compare_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/merges","archive_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/downloads","issues_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/issues{/number}","pulls_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/labels{/name}","releases_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/releases{/id}","deployments_url":"https://api.github.com/repos/segment-integrations/integration-google-analytics/deployments","created_at":"2014-11-14T13:31:37Z","updated_at":"2016-06-08T17:49:47Z","pushed_at":"2016-07-20T16:41:36Z","git_url":"git://github.com/segment-integrations/integration-google-analytics.git","ssh_url":"git@github.com:segment-integrations/integration-google-analytics.git","clone_url":"https://github.com/segment-integrations/integration-google-analytics.git","svn_url":"https://github.com/segment-integrations/integration-google-analytics","homepage":"segment.com","size":127,"stargazers_count":21,"watchers_count":21,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls/42"},"html":{"href":"https://github.com/segment-integrations/integration-google-analytics/pull/42"},"issue":{"href":"https://api.github.com/repos/segment-integrations/integration-google-analytics/issues/42"},"comments":{"href":"https://api.github.com/repos/segment-integrations/integration-google-analytics/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/segment-integrations/integration-google-analytics/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/segment-integrations/integration-google-analytics/statuses/65dd4f273dd940a7b373b36c196da2f48439150b"}}}}
{"actor":{"display_login":"f2prateek"}}