{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/react-ga/pulls/comments/35788675","id":35788675,"diff_hunk":"@@ -293,3 +293,9 @@ module.exports = {\n   }\n };\n \n+var OutboundLink = require('./components/OutboundLink');\n+OutboundLink.trackLink = reactGA.outboundLink;","path":"src/index.js","position":14,"original_position":14,"commit_id":"7a71b8d34c196c047337fac5f4e1cf078b4753f4","original_commit_id":"7a71b8d34c196c047337fac5f4e1cf078b4753f4","user":{"login":"mmmavis","id":2896608,"avatar_url":"https://avatars.githubusercontent.com/u/2896608?v=3","gravatar_id":"","url":"https://api.github.com/users/mmmavis","html_url":"https://github.com/mmmavis","followers_url":"https://api.github.com/users/mmmavis/followers","following_url":"https://api.github.com/users/mmmavis/following{/other_user}","gists_url":"https://api.github.com/users/mmmavis/gists{/gist_id}","starred_url":"https://api.github.com/users/mmmavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmmavis/subscriptions","organizations_url":"https://api.github.com/users/mmmavis/orgs","repos_url":"https://api.github.com/users/mmmavis/repos","events_url":"https://api.github.com/users/mmmavis/events{/privacy}","received_events_url":"https://api.github.com/users/mmmavis/received_events","type":"User","site_admin":false},"body":"I would like to defer this to @adamlofting since he knows the usage convention and Google GA API the best :wink: \r\n\r\nFrom my understanding we are using the `ga.event` to track events and links within the site domain ([example](https://github.com/mozilla/teach.webmaker.org/issues/1109#issuecomment-123222969)) whereas [`ga.outboundLink`](https://github.com/adamlofting/react-ga/#gaoutboundlinkargs-hitcallback) is designed to track external URLs","created_at":"2015-07-29T17:42:32Z","updated_at":"2015-07-29T17:42:32Z","html_url":"https://github.com/mozilla/react-ga/pull/19#discussion_r35788675","pull_request_url":"https://api.github.com/repos/mozilla/react-ga/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/mozilla/react-ga/pulls/comments/35788675"},"html":{"href":"https://github.com/mozilla/react-ga/pull/19#discussion_r35788675"},"pull_request":{"href":"https://api.github.com/repos/mozilla/react-ga/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/react-ga/pulls/19","id":41051661,"html_url":"https://github.com/mozilla/react-ga/pull/19","diff_url":"https://github.com/mozilla/react-ga/pull/19.diff","patch_url":"https://github.com/mozilla/react-ga/pull/19.patch","issue_url":"https://api.github.com/repos/mozilla/react-ga/issues/19","number":19,"state":"open","locked":false,"title":"Added <OutboundLink> component","user":{"login":"mmmavis","id":2896608,"avatar_url":"https://avatars.githubusercontent.com/u/2896608?v=3","gravatar_id":"","url":"https://api.github.com/users/mmmavis","html_url":"https://github.com/mmmavis","followers_url":"https://api.github.com/users/mmmavis/followers","following_url":"https://api.github.com/users/mmmavis/following{/other_user}","gists_url":"https://api.github.com/users/mmmavis/gists{/gist_id}","starred_url":"https://api.github.com/users/mmmavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmmavis/subscriptions","organizations_url":"https://api.github.com/users/mmmavis/orgs","repos_url":"https://api.github.com/users/mmmavis/repos","events_url":"https://api.github.com/users/mmmavis/events{/privacy}","received_events_url":"https://api.github.com/users/mmmavis/received_events","type":"User","site_admin":false},"body":"This fixes #14 \r\n\r\nI will squash all commits once I get a R+ :smile: ","created_at":"2015-07-28T19:41:13Z","updated_at":"2015-07-29T17:42:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"282809ccefbac1c36832f19802ff4886ed2ef9f7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/react-ga/pulls/19/commits","review_comments_url":"https://api.github.com/repos/mozilla/react-ga/pulls/19/comments","review_comment_url":"https://api.github.com/repos/mozilla/react-ga/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/react-ga/issues/19/comments","statuses_url":"https://api.github.com/repos/mozilla/react-ga/statuses/7a71b8d34c196c047337fac5f4e1cf078b4753f4","head":{"label":"mmmavis:issue-14-add-OutboundLink-component","ref":"issue-14-add-OutboundLink-component","sha":"7a71b8d34c196c047337fac5f4e1cf078b4753f4","user":{"login":"mmmavis","id":2896608,"avatar_url":"https://avatars.githubusercontent.com/u/2896608?v=3","gravatar_id":"","url":"https://api.github.com/users/mmmavis","html_url":"https://github.com/mmmavis","followers_url":"https://api.github.com/users/mmmavis/followers","following_url":"https://api.github.com/users/mmmavis/following{/other_user}","gists_url":"https://api.github.com/users/mmmavis/gists{/gist_id}","starred_url":"https://api.github.com/users/mmmavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmmavis/subscriptions","organizations_url":"https://api.github.com/users/mmmavis/orgs","repos_url":"https://api.github.com/users/mmmavis/repos","events_url":"https://api.github.com/users/mmmavis/events{/privacy}","received_events_url":"https://api.github.com/users/mmmavis/received_events","type":"User","site_admin":false},"repo":{"id":39475254,"name":"react-ga","full_name":"mmmavis/react-ga","owner":{"login":"mmmavis","id":2896608,"avatar_url":"https://avatars.githubusercontent.com/u/2896608?v=3","gravatar_id":"","url":"https://api.github.com/users/mmmavis","html_url":"https://github.com/mmmavis","followers_url":"https://api.github.com/users/mmmavis/followers","following_url":"https://api.github.com/users/mmmavis/following{/other_user}","gists_url":"https://api.github.com/users/mmmavis/gists{/gist_id}","starred_url":"https://api.github.com/users/mmmavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmmavis/subscriptions","organizations_url":"https://api.github.com/users/mmmavis/orgs","repos_url":"https://api.github.com/users/mmmavis/repos","events_url":"https://api.github.com/users/mmmavis/events{/privacy}","received_events_url":"https://api.github.com/users/mmmavis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mmmavis/react-ga","description":"React Google Analytics Module","fork":true,"url":"https://api.github.com/repos/mmmavis/react-ga","forks_url":"https://api.github.com/repos/mmmavis/react-ga/forks","keys_url":"https://api.github.com/repos/mmmavis/react-ga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mmmavis/react-ga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mmmavis/react-ga/teams","hooks_url":"https://api.github.com/repos/mmmavis/react-ga/hooks","issue_events_url":"https://api.github.com/repos/mmmavis/react-ga/issues/events{/number}","events_url":"https://api.github.com/repos/mmmavis/react-ga/events","assignees_url":"https://api.github.com/repos/mmmavis/react-ga/assignees{/user}","branches_url":"https://api.github.com/repos/mmmavis/react-ga/branches{/branch}","tags_url":"https://api.github.com/repos/mmmavis/react-ga/tags","blobs_url":"https://api.github.com/repos/mmmavis/react-ga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mmmavis/react-ga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mmmavis/react-ga/git/refs{/sha}","trees_url":"https://api.github.com/repos/mmmavis/react-ga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mmmavis/react-ga/statuses/{sha}","languages_url":"https://api.github.com/repos/mmmavis/react-ga/languages","stargazers_url":"https://api.github.com/repos/mmmavis/react-ga/stargazers","contributors_url":"https://api.github.com/repos/mmmavis/react-ga/contributors","subscribers_url":"https://api.github.com/repos/mmmavis/react-ga/subscribers","subscription_url":"https://api.github.com/repos/mmmavis/react-ga/subscription","commits_url":"https://api.github.com/repos/mmmavis/react-ga/commits{/sha}","git_commits_url":"https://api.github.com/repos/mmmavis/react-ga/git/commits{/sha}","comments_url":"https://api.github.com/repos/mmmavis/react-ga/comments{/number}","issue_comment_url":"https://api.github.com/repos/mmmavis/react-ga/issues/comments{/number}","contents_url":"https://api.github.com/repos/mmmavis/react-ga/contents/{+path}","compare_url":"https://api.github.com/repos/mmmavis/react-ga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mmmavis/react-ga/merges","archive_url":"https://api.github.com/repos/mmmavis/react-ga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mmmavis/react-ga/downloads","issues_url":"https://api.github.com/repos/mmmavis/react-ga/issues{/number}","pulls_url":"https://api.github.com/repos/mmmavis/react-ga/pulls{/number}","milestones_url":"https://api.github.com/repos/mmmavis/react-ga/milestones{/number}","notifications_url":"https://api.github.com/repos/mmmavis/react-ga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mmmavis/react-ga/labels{/name}","releases_url":"https://api.github.com/repos/mmmavis/react-ga/releases{/id}","created_at":"2015-07-21T23:40:10Z","updated_at":"2015-07-21T23:40:10Z","pushed_at":"2015-07-29T04:50:27Z","git_url":"git://github.com/mmmavis/react-ga.git","ssh_url":"git@github.com:mmmavis/react-ga.git","clone_url":"https://github.com/mmmavis/react-ga.git","svn_url":"https://github.com/mmmavis/react-ga","homepage":null,"size":115,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"mozilla:master","ref":"master","sha":"f31ec4924a7c2446c5972766f09ff0614cb5f68c","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":32981784,"name":"react-ga","full_name":"mozilla/react-ga","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/react-ga","description":"React Google Analytics Module","fork":false,"url":"https://api.github.com/repos/mozilla/react-ga","forks_url":"https://api.github.com/repos/mozilla/react-ga/forks","keys_url":"https://api.github.com/repos/mozilla/react-ga/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/react-ga/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/react-ga/teams","hooks_url":"https://api.github.com/repos/mozilla/react-ga/hooks","issue_events_url":"https://api.github.com/repos/mozilla/react-ga/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/react-ga/events","assignees_url":"https://api.github.com/repos/mozilla/react-ga/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/react-ga/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/react-ga/tags","blobs_url":"https://api.github.com/repos/mozilla/react-ga/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/react-ga/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/react-ga/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/react-ga/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/react-ga/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/react-ga/languages","stargazers_url":"https://api.github.com/repos/mozilla/react-ga/stargazers","contributors_url":"https://api.github.com/repos/mozilla/react-ga/contributors","subscribers_url":"https://api.github.com/repos/mozilla/react-ga/subscribers","subscription_url":"https://api.github.com/repos/mozilla/react-ga/subscription","commits_url":"https://api.github.com/repos/mozilla/react-ga/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/react-ga/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/react-ga/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/react-ga/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/react-ga/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/react-ga/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/react-ga/merges","archive_url":"https://api.github.com/repos/mozilla/react-ga/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/react-ga/downloads","issues_url":"https://api.github.com/repos/mozilla/react-ga/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/react-ga/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/react-ga/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/react-ga/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/react-ga/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/react-ga/releases{/id}","created_at":"2015-03-27T11:09:25Z","updated_at":"2015-07-29T10:08:24Z","pushed_at":"2015-07-29T10:30:54Z","git_url":"git://github.com/mozilla/react-ga.git","ssh_url":"git@github.com:mozilla/react-ga.git","clone_url":"https://github.com/mozilla/react-ga.git","svn_url":"https://github.com/mozilla/react-ga","homepage":null,"size":281,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":7,"forks":5,"open_issues":7,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/react-ga/pulls/19"},"html":{"href":"https://github.com/mozilla/react-ga/pull/19"},"issue":{"href":"https://api.github.com/repos/mozilla/react-ga/issues/19"},"comments":{"href":"https://api.github.com/repos/mozilla/react-ga/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/react-ga/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/react-ga/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/react-ga/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/react-ga/statuses/7a71b8d34c196c047337fac5f4e1cf078b4753f4"}}}}