{"action":"created","comment":{"url":"https://api.github.com/repos/oddnetworks/oddworks/pulls/comments/63173660","id":63173660,"diff_hunk":"@@ -18,6 +18,7 @@ module.exports = options => {\n \n Analyzer.prototype = {\n \tprepare(payload) {\n+\t\tpayload = payload.attributes;","path":"lib/services/events/analyzers/google-analytics.js","position":4,"original_position":4,"commit_id":"a312f604cd9ee9e638c58dd29b2dbef5708d569a","original_commit_id":"a312f604cd9ee9e638c58dd29b2dbef5708d569a","user":{"login":"blainsmith","id":483829,"avatar_url":"https://avatars.githubusercontent.com/u/483829?v=3","gravatar_id":"","url":"https://api.github.com/users/blainsmith","html_url":"https://github.com/blainsmith","followers_url":"https://api.github.com/users/blainsmith/followers","following_url":"https://api.github.com/users/blainsmith/following{/other_user}","gists_url":"https://api.github.com/users/blainsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/blainsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blainsmith/subscriptions","organizations_url":"https://api.github.com/users/blainsmith/orgs","repos_url":"https://api.github.com/users/blainsmith/repos","events_url":"https://api.github.com/users/blainsmith/events{/privacy}","received_events_url":"https://api.github.com/users/blainsmith/received_events","type":"User","site_admin":false},"body":"So in our test server implementation there is a `deformatter` to make it easier to work with the data you care about. I've been considering removing these and I haven't decided yet, but I think this example might have been the turning point.\r\n\r\nhttps://github.com/oddnetworks/oddworks/blob/master/test/support/test-config.js#L92","created_at":"2016-05-13T12:21:24Z","updated_at":"2016-05-13T12:21:24Z","html_url":"https://github.com/oddnetworks/oddworks/pull/66#discussion_r63173660","pull_request_url":"https://api.github.com/repos/oddnetworks/oddworks/pulls/66","_links":{"self":{"href":"https://api.github.com/repos/oddnetworks/oddworks/pulls/comments/63173660"},"html":{"href":"https://github.com/oddnetworks/oddworks/pull/66#discussion_r63173660"},"pull_request":{"href":"https://api.github.com/repos/oddnetworks/oddworks/pulls/66"}}},"pull_request":{"url":"https://api.github.com/repos/oddnetworks/oddworks/pulls/66","id":69892379,"html_url":"https://github.com/oddnetworks/oddworks/pull/66","diff_url":"https://github.com/oddnetworks/oddworks/pull/66.diff","patch_url":"https://github.com/oddnetworks/oddworks/pull/66.patch","issue_url":"https://api.github.com/repos/oddnetworks/oddworks/issues/66","number":66,"state":"open","locked":false,"title":"fixes #54 - Update the payload + add missing send","user":{"login":"lorismaz","id":2421972,"avatar_url":"https://avatars.githubusercontent.com/u/2421972?v=3","gravatar_id":"","url":"https://api.github.com/users/lorismaz","html_url":"https://github.com/lorismaz","followers_url":"https://api.github.com/users/lorismaz/followers","following_url":"https://api.github.com/users/lorismaz/following{/other_user}","gists_url":"https://api.github.com/users/lorismaz/gists{/gist_id}","starred_url":"https://api.github.com/users/lorismaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorismaz/subscriptions","organizations_url":"https://api.github.com/users/lorismaz/orgs","repos_url":"https://api.github.com/users/lorismaz/repos","events_url":"https://api.github.com/users/lorismaz/events{/privacy}","received_events_url":"https://api.github.com/users/lorismaz/received_events","type":"User","site_admin":false},"body":"This fixes #54 - Updating the payload to use `payload.attributes` and adding the missing send() command to `payload.visitor.event(payload.params).send();` works as basic event tracking. SDKs now needs to be updated to include more information about the user's device. \r\n\r\n ","created_at":"2016-05-12T19:24:06Z","updated_at":"2016-05-13T12:21:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7916b87a8e8da459756684d8b06fa143966ccfc7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/oddnetworks/oddworks/pulls/66/commits","review_comments_url":"https://api.github.com/repos/oddnetworks/oddworks/pulls/66/comments","review_comment_url":"https://api.github.com/repos/oddnetworks/oddworks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oddnetworks/oddworks/issues/66/comments","statuses_url":"https://api.github.com/repos/oddnetworks/oddworks/statuses/a312f604cd9ee9e638c58dd29b2dbef5708d569a","head":{"label":"lorismaz:patch-2","ref":"patch-2","sha":"a312f604cd9ee9e638c58dd29b2dbef5708d569a","user":{"login":"lorismaz","id":2421972,"avatar_url":"https://avatars.githubusercontent.com/u/2421972?v=3","gravatar_id":"","url":"https://api.github.com/users/lorismaz","html_url":"https://github.com/lorismaz","followers_url":"https://api.github.com/users/lorismaz/followers","following_url":"https://api.github.com/users/lorismaz/following{/other_user}","gists_url":"https://api.github.com/users/lorismaz/gists{/gist_id}","starred_url":"https://api.github.com/users/lorismaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorismaz/subscriptions","organizations_url":"https://api.github.com/users/lorismaz/orgs","repos_url":"https://api.github.com/users/lorismaz/repos","events_url":"https://api.github.com/users/lorismaz/events{/privacy}","received_events_url":"https://api.github.com/users/lorismaz/received_events","type":"User","site_admin":false},"repo":{"id":57148705,"name":"oddworks","full_name":"lorismaz/oddworks","owner":{"login":"lorismaz","id":2421972,"avatar_url":"https://avatars.githubusercontent.com/u/2421972?v=3","gravatar_id":"","url":"https://api.github.com/users/lorismaz","html_url":"https://github.com/lorismaz","followers_url":"https://api.github.com/users/lorismaz/followers","following_url":"https://api.github.com/users/lorismaz/following{/other_user}","gists_url":"https://api.github.com/users/lorismaz/gists{/gist_id}","starred_url":"https://api.github.com/users/lorismaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorismaz/subscriptions","organizations_url":"https://api.github.com/users/lorismaz/orgs","repos_url":"https://api.github.com/users/lorismaz/repos","events_url":"https://api.github.com/users/lorismaz/events{/privacy}","received_events_url":"https://api.github.com/users/lorismaz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lorismaz/oddworks","description":"OTT Video Platform for Roku, Apple, Android, Fire TV, XBOX, and more","fork":true,"url":"https://api.github.com/repos/lorismaz/oddworks","forks_url":"https://api.github.com/repos/lorismaz/oddworks/forks","keys_url":"https://api.github.com/repos/lorismaz/oddworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lorismaz/oddworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lorismaz/oddworks/teams","hooks_url":"https://api.github.com/repos/lorismaz/oddworks/hooks","issue_events_url":"https://api.github.com/repos/lorismaz/oddworks/issues/events{/number}","events_url":"https://api.github.com/repos/lorismaz/oddworks/events","assignees_url":"https://api.github.com/repos/lorismaz/oddworks/assignees{/user}","branches_url":"https://api.github.com/repos/lorismaz/oddworks/branches{/branch}","tags_url":"https://api.github.com/repos/lorismaz/oddworks/tags","blobs_url":"https://api.github.com/repos/lorismaz/oddworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lorismaz/oddworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lorismaz/oddworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/lorismaz/oddworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lorismaz/oddworks/statuses/{sha}","languages_url":"https://api.github.com/repos/lorismaz/oddworks/languages","stargazers_url":"https://api.github.com/repos/lorismaz/oddworks/stargazers","contributors_url":"https://api.github.com/repos/lorismaz/oddworks/contributors","subscribers_url":"https://api.github.com/repos/lorismaz/oddworks/subscribers","subscription_url":"https://api.github.com/repos/lorismaz/oddworks/subscription","commits_url":"https://api.github.com/repos/lorismaz/oddworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/lorismaz/oddworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/lorismaz/oddworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/lorismaz/oddworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/lorismaz/oddworks/contents/{+path}","compare_url":"https://api.github.com/repos/lorismaz/oddworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lorismaz/oddworks/merges","archive_url":"https://api.github.com/repos/lorismaz/oddworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lorismaz/oddworks/downloads","issues_url":"https://api.github.com/repos/lorismaz/oddworks/issues{/number}","pulls_url":"https://api.github.com/repos/lorismaz/oddworks/pulls{/number}","milestones_url":"https://api.github.com/repos/lorismaz/oddworks/milestones{/number}","notifications_url":"https://api.github.com/repos/lorismaz/oddworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lorismaz/oddworks/labels{/name}","releases_url":"https://api.github.com/repos/lorismaz/oddworks/releases{/id}","deployments_url":"https://api.github.com/repos/lorismaz/oddworks/deployments","created_at":"2016-04-26T17:34:38Z","updated_at":"2016-04-26T17:34:39Z","pushed_at":"2016-05-12T19:19:09Z","git_url":"git://github.com/lorismaz/oddworks.git","ssh_url":"git@github.com:lorismaz/oddworks.git","clone_url":"https://github.com/lorismaz/oddworks.git","svn_url":"https://github.com/lorismaz/oddworks","homepage":"https://www.oddnetworks.com","size":417,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"oddnetworks:master","ref":"master","sha":"bcff883adc37640b0f04d0f3622af6aaa90659ba","user":{"login":"oddnetworks","id":7726625,"avatar_url":"https://avatars.githubusercontent.com/u/7726625?v=3","gravatar_id":"","url":"https://api.github.com/users/oddnetworks","html_url":"https://github.com/oddnetworks","followers_url":"https://api.github.com/users/oddnetworks/followers","following_url":"https://api.github.com/users/oddnetworks/following{/other_user}","gists_url":"https://api.github.com/users/oddnetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/oddnetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oddnetworks/subscriptions","organizations_url":"https://api.github.com/users/oddnetworks/orgs","repos_url":"https://api.github.com/users/oddnetworks/repos","events_url":"https://api.github.com/users/oddnetworks/events{/privacy}","received_events_url":"https://api.github.com/users/oddnetworks/received_events","type":"Organization","site_admin":false},"repo":{"id":52802668,"name":"oddworks","full_name":"oddnetworks/oddworks","owner":{"login":"oddnetworks","id":7726625,"avatar_url":"https://avatars.githubusercontent.com/u/7726625?v=3","gravatar_id":"","url":"https://api.github.com/users/oddnetworks","html_url":"https://github.com/oddnetworks","followers_url":"https://api.github.com/users/oddnetworks/followers","following_url":"https://api.github.com/users/oddnetworks/following{/other_user}","gists_url":"https://api.github.com/users/oddnetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/oddnetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oddnetworks/subscriptions","organizations_url":"https://api.github.com/users/oddnetworks/orgs","repos_url":"https://api.github.com/users/oddnetworks/repos","events_url":"https://api.github.com/users/oddnetworks/events{/privacy}","received_events_url":"https://api.github.com/users/oddnetworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oddnetworks/oddworks","description":"OTT Video Platform for Roku, Apple, Android, Fire TV, XBOX, and more","fork":false,"url":"https://api.github.com/repos/oddnetworks/oddworks","forks_url":"https://api.github.com/repos/oddnetworks/oddworks/forks","keys_url":"https://api.github.com/repos/oddnetworks/oddworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oddnetworks/oddworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oddnetworks/oddworks/teams","hooks_url":"https://api.github.com/repos/oddnetworks/oddworks/hooks","issue_events_url":"https://api.github.com/repos/oddnetworks/oddworks/issues/events{/number}","events_url":"https://api.github.com/repos/oddnetworks/oddworks/events","assignees_url":"https://api.github.com/repos/oddnetworks/oddworks/assignees{/user}","branches_url":"https://api.github.com/repos/oddnetworks/oddworks/branches{/branch}","tags_url":"https://api.github.com/repos/oddnetworks/oddworks/tags","blobs_url":"https://api.github.com/repos/oddnetworks/oddworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oddnetworks/oddworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oddnetworks/oddworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/oddnetworks/oddworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oddnetworks/oddworks/statuses/{sha}","languages_url":"https://api.github.com/repos/oddnetworks/oddworks/languages","stargazers_url":"https://api.github.com/repos/oddnetworks/oddworks/stargazers","contributors_url":"https://api.github.com/repos/oddnetworks/oddworks/contributors","subscribers_url":"https://api.github.com/repos/oddnetworks/oddworks/subscribers","subscription_url":"https://api.github.com/repos/oddnetworks/oddworks/subscription","commits_url":"https://api.github.com/repos/oddnetworks/oddworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/oddnetworks/oddworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/oddnetworks/oddworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/oddnetworks/oddworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/oddnetworks/oddworks/contents/{+path}","compare_url":"https://api.github.com/repos/oddnetworks/oddworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oddnetworks/oddworks/merges","archive_url":"https://api.github.com/repos/oddnetworks/oddworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oddnetworks/oddworks/downloads","issues_url":"https://api.github.com/repos/oddnetworks/oddworks/issues{/number}","pulls_url":"https://api.github.com/repos/oddnetworks/oddworks/pulls{/number}","milestones_url":"https://api.github.com/repos/oddnetworks/oddworks/milestones{/number}","notifications_url":"https://api.github.com/repos/oddnetworks/oddworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oddnetworks/oddworks/labels{/name}","releases_url":"https://api.github.com/repos/oddnetworks/oddworks/releases{/id}","deployments_url":"https://api.github.com/repos/oddnetworks/oddworks/deployments","created_at":"2016-02-29T15:42:35Z","updated_at":"2016-05-07T05:14:52Z","pushed_at":"2016-05-12T19:24:07Z","git_url":"git://github.com/oddnetworks/oddworks.git","ssh_url":"git@github.com:oddnetworks/oddworks.git","clone_url":"https://github.com/oddnetworks/oddworks.git","svn_url":"https://github.com/oddnetworks/oddworks","homepage":"https://www.oddnetworks.com","size":428,"stargazers_count":184,"watchers_count":184,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":18,"forks":24,"open_issues":18,"watchers":184,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oddnetworks/oddworks/pulls/66"},"html":{"href":"https://github.com/oddnetworks/oddworks/pull/66"},"issue":{"href":"https://api.github.com/repos/oddnetworks/oddworks/issues/66"},"comments":{"href":"https://api.github.com/repos/oddnetworks/oddworks/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/oddnetworks/oddworks/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/oddnetworks/oddworks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oddnetworks/oddworks/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/oddnetworks/oddworks/statuses/a312f604cd9ee9e638c58dd29b2dbef5708d569a"}}}}