{"action":"created","comment":{"url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls/comments/66651769","id":66651769,"diff_hunk":"@@ -161,9 +161,11 @@ Segment.prototype.normalize = function(msg) {\n   var global = exports.global;\n   var query = global.location.search;\n   var ctx = msg.context = msg.context || msg.options || {};\n+  var amp = ctx.amp = ctx.amp || {};","path":"lib/index.js","position":null,"original_position":4,"commit_id":"833efff765436a81549bd922c74246270dca9d08","original_commit_id":"f61cb21a5241572c2f963fdd50b21801958fed14","user":{"login":"yields","id":1661587,"avatar_url":"https://avatars.githubusercontent.com/u/1661587?v=3","gravatar_id":"","url":"https://api.github.com/users/yields","html_url":"https://github.com/yields","followers_url":"https://api.github.com/users/yields/followers","following_url":"https://api.github.com/users/yields/following{/other_user}","gists_url":"https://api.github.com/users/yields/gists{/gist_id}","starred_url":"https://api.github.com/users/yields/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yields/subscriptions","organizations_url":"https://api.github.com/users/yields/orgs","repos_url":"https://api.github.com/users/yields/repos","events_url":"https://api.github.com/users/yields/events{/privacy}","received_events_url":"https://api.github.com/users/yields/received_events","type":"User","site_admin":false},"body":"good call, done!","created_at":"2016-06-10T17:34:56Z","updated_at":"2016-06-10T17:34:56Z","html_url":"https://github.com/segment-integrations/analytics.js-integration-segmentio/pull/10#discussion_r66651769","pull_request_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls/comments/66651769"},"html":{"href":"https://github.com/segment-integrations/analytics.js-integration-segmentio/pull/10#discussion_r66651769"},"pull_request":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls/10","id":73167725,"html_url":"https://github.com/segment-integrations/analytics.js-integration-segmentio/pull/10","diff_url":"https://github.com/segment-integrations/analytics.js-integration-segmentio/pull/10.diff","patch_url":"https://github.com/segment-integrations/analytics.js-integration-segmentio/pull/10.patch","issue_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/issues/10","number":10,"state":"open","locked":false,"title":"add .context.amp and pull segment_amp_id","user":{"login":"yields","id":1661587,"avatar_url":"https://avatars.githubusercontent.com/u/1661587?v=3","gravatar_id":"","url":"https://api.github.com/users/yields","html_url":"https://github.com/yields","followers_url":"https://api.github.com/users/yields/followers","following_url":"https://api.github.com/users/yields/following{/other_user}","gists_url":"https://api.github.com/users/yields/gists{/gist_id}","starred_url":"https://api.github.com/users/yields/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yields/subscriptions","organizations_url":"https://api.github.com/users/yields/orgs","repos_url":"https://api.github.com/users/yields/repos","events_url":"https://api.github.com/users/yields/events{/privacy}","received_events_url":"https://api.github.com/users/yields/received_events","type":"User","site_admin":false},"body":"@calvinfo ","created_at":"2016-06-09T07:21:57Z","updated_at":"2016-06-10T17:34:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dfb9ad33ff64a0a1578cb1692763e2bac3b124fc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls/10/commits","review_comments_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls/10/comments","review_comment_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/issues/10/comments","statuses_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/statuses/833efff765436a81549bd922c74246270dca9d08","head":{"label":"segment-integrations:add-amp-id","ref":"add-amp-id","sha":"833efff765436a81549bd922c74246270dca9d08","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":37163416,"name":"analytics.js-integration-segmentio","full_name":"segment-integrations/analytics.js-integration-segmentio","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/analytics.js-integration-segmentio","description":"The Segmentio analytics.js integration.","fork":false,"url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio","forks_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/forks","keys_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/teams","hooks_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/hooks","issue_events_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/issues/events{/number}","events_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/events","assignees_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/assignees{/user}","branches_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/branches{/branch}","tags_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/tags","blobs_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/git/refs{/sha}","trees_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/statuses/{sha}","languages_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/languages","stargazers_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/stargazers","contributors_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/contributors","subscribers_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/subscribers","subscription_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/subscription","commits_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/commits{/sha}","git_commits_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/git/commits{/sha}","comments_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/comments{/number}","issue_comment_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/issues/comments{/number}","contents_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/contents/{+path}","compare_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/merges","archive_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/downloads","issues_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/issues{/number}","pulls_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls{/number}","milestones_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/milestones{/number}","notifications_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/labels{/name}","releases_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/releases{/id}","deployments_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/deployments","created_at":"2015-06-09T23:04:42Z","updated_at":"2016-05-07T20:44:07Z","pushed_at":"2016-06-10T17:34:50Z","git_url":"git://github.com/segment-integrations/analytics.js-integration-segmentio.git","ssh_url":"git@github.com:segment-integrations/analytics.js-integration-segmentio.git","clone_url":"https://github.com/segment-integrations/analytics.js-integration-segmentio.git","svn_url":"https://github.com/segment-integrations/analytics.js-integration-segmentio","homepage":"https://segment.com/docs/integrations/segmentio/","size":31,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":5,"forks":8,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"segment-integrations:master","ref":"master","sha":"f2dddd4664d2200f07dfb12f605523a1caf971db","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":37163416,"name":"analytics.js-integration-segmentio","full_name":"segment-integrations/analytics.js-integration-segmentio","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/analytics.js-integration-segmentio","description":"The Segmentio analytics.js integration.","fork":false,"url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio","forks_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/forks","keys_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/teams","hooks_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/hooks","issue_events_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/issues/events{/number}","events_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/events","assignees_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/assignees{/user}","branches_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/branches{/branch}","tags_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/tags","blobs_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/git/refs{/sha}","trees_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/statuses/{sha}","languages_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/languages","stargazers_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/stargazers","contributors_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/contributors","subscribers_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/subscribers","subscription_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/subscription","commits_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/commits{/sha}","git_commits_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/git/commits{/sha}","comments_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/comments{/number}","issue_comment_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/issues/comments{/number}","contents_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/contents/{+path}","compare_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/merges","archive_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/downloads","issues_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/issues{/number}","pulls_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls{/number}","milestones_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/milestones{/number}","notifications_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/labels{/name}","releases_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/releases{/id}","deployments_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/deployments","created_at":"2015-06-09T23:04:42Z","updated_at":"2016-05-07T20:44:07Z","pushed_at":"2016-06-10T17:34:50Z","git_url":"git://github.com/segment-integrations/analytics.js-integration-segmentio.git","ssh_url":"git@github.com:segment-integrations/analytics.js-integration-segmentio.git","clone_url":"https://github.com/segment-integrations/analytics.js-integration-segmentio.git","svn_url":"https://github.com/segment-integrations/analytics.js-integration-segmentio","homepage":"https://segment.com/docs/integrations/segmentio/","size":31,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":5,"forks":8,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls/10"},"html":{"href":"https://github.com/segment-integrations/analytics.js-integration-segmentio/pull/10"},"issue":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/issues/10"},"comments":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-segmentio/statuses/833efff765436a81549bd922c74246270dca9d08"}}}}
{"actor":{"display_login":"yields"}}