{"action":"created","comment":{"url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/pulls/comments/64431275","id":64431275,"diff_hunk":"@@ -130,10 +128,10 @@ Keen.prototype.identify = function(identify) {\n  * @param {Track} track\n  */\n \n-Keen.prototype.track = function(track) {\n+KeenSegment.prototype.track = function(track) {\n   var props = track.properties();\n   this.addons(props, track);\n-  this.client.addEvent(track.event(), props);\n+  this.client.recordEvent(track.event(), props);","path":"lib/index.js","position":116,"original_position":116,"commit_id":"84427c056922350d7ebb094c794175136333309e","original_commit_id":"84427c056922350d7ebb094c794175136333309e","user":{"login":"hankim813","id":5907121,"avatar_url":"https://avatars.githubusercontent.com/u/5907121?v=3","gravatar_id":"","url":"https://api.github.com/users/hankim813","html_url":"https://github.com/hankim813","followers_url":"https://api.github.com/users/hankim813/followers","following_url":"https://api.github.com/users/hankim813/following{/other_user}","gists_url":"https://api.github.com/users/hankim813/gists{/gist_id}","starred_url":"https://api.github.com/users/hankim813/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hankim813/subscriptions","organizations_url":"https://api.github.com/users/hankim813/orgs","repos_url":"https://api.github.com/users/hankim813/repos","events_url":"https://api.github.com/users/hankim813/events{/privacy}","received_events_url":"https://api.github.com/users/hankim813/received_events","type":"User","site_admin":false},"body":"Any notable changes in regards to functionalities between these two functions? Or is it just an syntactical update? ","created_at":"2016-05-24T16:55:10Z","updated_at":"2016-05-24T16:55:10Z","html_url":"https://github.com/segment-integrations/analytics.js-integration-keen-io/pull/7#discussion_r64431275","pull_request_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/pulls/comments/64431275"},"html":{"href":"https://github.com/segment-integrations/analytics.js-integration-keen-io/pull/7#discussion_r64431275"},"pull_request":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/pulls/7","id":71106316,"html_url":"https://github.com/segment-integrations/analytics.js-integration-keen-io/pull/7","diff_url":"https://github.com/segment-integrations/analytics.js-integration-keen-io/pull/7.diff","patch_url":"https://github.com/segment-integrations/analytics.js-integration-keen-io/pull/7.patch","issue_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/issues/7","number":7,"state":"open","locked":false,"title":"Update keen tracking","user":{"login":"dustinlarimer","id":180438,"avatar_url":"https://avatars.githubusercontent.com/u/180438?v=3","gravatar_id":"","url":"https://api.github.com/users/dustinlarimer","html_url":"https://github.com/dustinlarimer","followers_url":"https://api.github.com/users/dustinlarimer/followers","following_url":"https://api.github.com/users/dustinlarimer/following{/other_user}","gists_url":"https://api.github.com/users/dustinlarimer/gists{/gist_id}","starred_url":"https://api.github.com/users/dustinlarimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustinlarimer/subscriptions","organizations_url":"https://api.github.com/users/dustinlarimer/orgs","repos_url":"https://api.github.com/users/dustinlarimer/repos","events_url":"https://api.github.com/users/dustinlarimer/events{/privacy}","received_events_url":"https://api.github.com/users/dustinlarimer/received_events","type":"User","site_admin":false},"body":"## What does this PR do?\r\n\r\nThis PR updates the Keen IO integration to mitigate the potential for namespace collisions when using other versions of Keen SDKs.\r\n\r\n* Update keen-js to v3.1.0 (latest possible without breaking changes)\r\n* Create a new `KeenSegment` namespace for analytics.js-installed SDK and return existing `Keen` object if overwritten","created_at":"2016-05-23T19:23:38Z","updated_at":"2016-05-24T16:55:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0cba422f309006eb971bd24d28d755e28aad3bc3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/pulls/7/commits","review_comments_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/pulls/7/comments","review_comment_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/issues/7/comments","statuses_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/statuses/84427c056922350d7ebb094c794175136333309e","head":{"label":"keen:update-keen-tracking","ref":"update-keen-tracking","sha":"84427c056922350d7ebb094c794175136333309e","user":{"login":"keen","id":8461781,"avatar_url":"https://avatars.githubusercontent.com/u/8461781?v=3","gravatar_id":"","url":"https://api.github.com/users/keen","html_url":"https://github.com/keen","followers_url":"https://api.github.com/users/keen/followers","following_url":"https://api.github.com/users/keen/following{/other_user}","gists_url":"https://api.github.com/users/keen/gists{/gist_id}","starred_url":"https://api.github.com/users/keen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keen/subscriptions","organizations_url":"https://api.github.com/users/keen/orgs","repos_url":"https://api.github.com/users/keen/repos","events_url":"https://api.github.com/users/keen/events{/privacy}","received_events_url":"https://api.github.com/users/keen/received_events","type":"Organization","site_admin":false},"repo":{"id":50954527,"name":"analytics.js-integration-keen-io","full_name":"keen/analytics.js-integration-keen-io","owner":{"login":"keen","id":8461781,"avatar_url":"https://avatars.githubusercontent.com/u/8461781?v=3","gravatar_id":"","url":"https://api.github.com/users/keen","html_url":"https://github.com/keen","followers_url":"https://api.github.com/users/keen/followers","following_url":"https://api.github.com/users/keen/following{/other_user}","gists_url":"https://api.github.com/users/keen/gists{/gist_id}","starred_url":"https://api.github.com/users/keen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keen/subscriptions","organizations_url":"https://api.github.com/users/keen/orgs","repos_url":"https://api.github.com/users/keen/repos","events_url":"https://api.github.com/users/keen/events{/privacy}","received_events_url":"https://api.github.com/users/keen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keen/analytics.js-integration-keen-io","description":"The Keen Io analytics.js integration.","fork":true,"url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io","forks_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/forks","keys_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/teams","hooks_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/hooks","issue_events_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/issues/events{/number}","events_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/events","assignees_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/assignees{/user}","branches_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/branches{/branch}","tags_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/tags","blobs_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/git/refs{/sha}","trees_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/statuses/{sha}","languages_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/languages","stargazers_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/stargazers","contributors_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/contributors","subscribers_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/subscribers","subscription_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/subscription","commits_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/commits{/sha}","git_commits_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/git/commits{/sha}","comments_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/comments{/number}","issue_comment_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/issues/comments{/number}","contents_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/contents/{+path}","compare_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/merges","archive_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/downloads","issues_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/issues{/number}","pulls_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/pulls{/number}","milestones_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/milestones{/number}","notifications_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/labels{/name}","releases_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/releases{/id}","deployments_url":"https://api.github.com/repos/keen/analytics.js-integration-keen-io/deployments","created_at":"2016-02-02T21:51:16Z","updated_at":"2016-04-21T20:52:15Z","pushed_at":"2016-05-23T19:26:45Z","git_url":"git://github.com/keen/analytics.js-integration-keen-io.git","ssh_url":"git@github.com:keen/analytics.js-integration-keen-io.git","clone_url":"https://github.com/keen/analytics.js-integration-keen-io.git","svn_url":"https://github.com/keen/analytics.js-integration-keen-io","homepage":"https://segment.com/docs/integrations/keen-io/","size":20,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"segment-integrations:master","ref":"master","sha":"118bf2b27ba12fb98873f098ee058934afbb5c11","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":37163285,"name":"analytics.js-integration-keen-io","full_name":"segment-integrations/analytics.js-integration-keen-io","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-keen-io","description":"The Keen Io analytics.js integration.","fork":false,"url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io","forks_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/forks","keys_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/teams","hooks_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/hooks","issue_events_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/issues/events{/number}","events_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/events","assignees_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/assignees{/user}","branches_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/branches{/branch}","tags_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/tags","blobs_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/git/refs{/sha}","trees_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/statuses/{sha}","languages_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/languages","stargazers_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/stargazers","contributors_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/contributors","subscribers_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/subscribers","subscription_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/subscription","commits_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/commits{/sha}","git_commits_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/git/commits{/sha}","comments_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/comments{/number}","issue_comment_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/issues/comments{/number}","contents_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/contents/{+path}","compare_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/merges","archive_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/downloads","issues_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/issues{/number}","pulls_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/pulls{/number}","milestones_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/milestones{/number}","notifications_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/labels{/name}","releases_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/releases{/id}","deployments_url":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/deployments","created_at":"2015-06-09T23:01:35Z","updated_at":"2016-05-07T20:37:19Z","pushed_at":"2016-05-23T19:26:45Z","git_url":"git://github.com/segment-integrations/analytics.js-integration-keen-io.git","ssh_url":"git@github.com:segment-integrations/analytics.js-integration-keen-io.git","clone_url":"https://github.com/segment-integrations/analytics.js-integration-keen-io.git","svn_url":"https://github.com/segment-integrations/analytics.js-integration-keen-io","homepage":"https://segment.com/docs/integrations/keen-io/","size":17,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/pulls/7"},"html":{"href":"https://github.com/segment-integrations/analytics.js-integration-keen-io/pull/7"},"issue":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/issues/7"},"comments":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/segment-integrations/analytics.js-integration-keen-io/statuses/84427c056922350d7ebb094c794175136333309e"}}}}
{"actor":{"display_login":"hankim813"}}