{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/bedrock/pulls/comments/30334967","id":30334967,"diff_hunk":"@@ -351,29 +343,13 @@ var Tabzilla = (function (Tabzilla) {\n     };\n     Infobar.prototype.trackEvent = function (action, label, value,\n                                              nonInteraction, callback) {\n-        if (typeof(_gaq) !== 'object') {\n-            if (callback) {\n-                callback();\n-            }\n-\n+        if (typeof(window.gaTrack) !== 'function') {","path":"bedrock/tabzilla/templates/tabzilla/tabzilla.js","position":31,"original_position":31,"commit_id":"901850795d579561cd9e9330d267df9c56cc4e51","original_commit_id":"901850795d579561cd9e9330d267df9c56cc4e51","user":{"login":"jacshfr","id":8338225,"avatar_url":"https://avatars.githubusercontent.com/u/8338225?v=3","gravatar_id":"","url":"https://api.github.com/users/jacshfr","html_url":"https://github.com/jacshfr","followers_url":"https://api.github.com/users/jacshfr/followers","following_url":"https://api.github.com/users/jacshfr/following{/other_user}","gists_url":"https://api.github.com/users/jacshfr/gists{/gist_id}","starred_url":"https://api.github.com/users/jacshfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacshfr/subscriptions","organizations_url":"https://api.github.com/users/jacshfr/orgs","repos_url":"https://api.github.com/users/jacshfr/repos","events_url":"https://api.github.com/users/jacshfr/events{/privacy}","received_events_url":"https://api.github.com/users/jacshfr/received_events","type":"User","site_admin":false},"body":"Unfortunately we are unable to have in code Google Analytics and Analytics sent via Google Tag Manager live in the same page.  We decided to remove all analytics from tabzilla.js. I left the Infobar.prototype.trackEvent method in so if other sites are using the method, they won't receive an error, but no tracking will occur. I can remove the method all together if you prefer.","created_at":"2015-05-14T16:15:52Z","updated_at":"2015-05-14T16:15:52Z","html_url":"https://github.com/mozilla/bedrock/pull/2975#discussion_r30334967","pull_request_url":"https://api.github.com/repos/mozilla/bedrock/pulls/2975","_links":{"self":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/comments/30334967"},"html":{"href":"https://github.com/mozilla/bedrock/pull/2975#discussion_r30334967"},"pull_request":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/2975"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/bedrock/pulls/2975","id":35274441,"html_url":"https://github.com/mozilla/bedrock/pull/2975","diff_url":"https://github.com/mozilla/bedrock/pull/2975.diff","patch_url":"https://github.com/mozilla/bedrock/pull/2975.patch","issue_url":"https://api.github.com/repos/mozilla/bedrock/issues/2975","number":2975,"state":"open","locked":false,"title":"Integration gtm js 2015 05 12","user":{"login":"jacshfr","id":8338225,"avatar_url":"https://avatars.githubusercontent.com/u/8338225?v=3","gravatar_id":"","url":"https://api.github.com/users/jacshfr","html_url":"https://github.com/jacshfr","followers_url":"https://api.github.com/users/jacshfr/followers","following_url":"https://api.github.com/users/jacshfr/following{/other_user}","gists_url":"https://api.github.com/users/jacshfr/gists{/gist_id}","starred_url":"https://api.github.com/users/jacshfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacshfr/subscriptions","organizations_url":"https://api.github.com/users/jacshfr/orgs","repos_url":"https://api.github.com/users/jacshfr/repos","events_url":"https://api.github.com/users/jacshfr/events{/privacy}","received_events_url":"https://api.github.com/users/jacshfr/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-12T21:48:17Z","updated_at":"2015-05-14T16:15:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"jpetto","id":317532,"avatar_url":"https://avatars.githubusercontent.com/u/317532?v=3","gravatar_id":"","url":"https://api.github.com/users/jpetto","html_url":"https://github.com/jpetto","followers_url":"https://api.github.com/users/jpetto/followers","following_url":"https://api.github.com/users/jpetto/following{/other_user}","gists_url":"https://api.github.com/users/jpetto/gists{/gist_id}","starred_url":"https://api.github.com/users/jpetto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpetto/subscriptions","organizations_url":"https://api.github.com/users/jpetto/orgs","repos_url":"https://api.github.com/users/jpetto/repos","events_url":"https://api.github.com/users/jpetto/events{/privacy}","received_events_url":"https://api.github.com/users/jpetto/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/bedrock/pulls/2975/commits","review_comments_url":"https://api.github.com/repos/mozilla/bedrock/pulls/2975/comments","review_comment_url":"https://api.github.com/repos/mozilla/bedrock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/bedrock/issues/2975/comments","statuses_url":"https://api.github.com/repos/mozilla/bedrock/statuses/901850795d579561cd9e9330d267df9c56cc4e51","head":{"label":"analytics-pros:integration_gtm_js_2015_05_12","ref":"integration_gtm_js_2015_05_12","sha":"901850795d579561cd9e9330d267df9c56cc4e51","user":{"login":"analytics-pros","id":57649,"avatar_url":"https://avatars.githubusercontent.com/u/57649?v=3","gravatar_id":"","url":"https://api.github.com/users/analytics-pros","html_url":"https://github.com/analytics-pros","followers_url":"https://api.github.com/users/analytics-pros/followers","following_url":"https://api.github.com/users/analytics-pros/following{/other_user}","gists_url":"https://api.github.com/users/analytics-pros/gists{/gist_id}","starred_url":"https://api.github.com/users/analytics-pros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analytics-pros/subscriptions","organizations_url":"https://api.github.com/users/analytics-pros/orgs","repos_url":"https://api.github.com/users/analytics-pros/repos","events_url":"https://api.github.com/users/analytics-pros/events{/privacy}","received_events_url":"https://api.github.com/users/analytics-pros/received_events","type":"Organization","site_admin":false},"repo":{"id":32344891,"name":"mozilla-bedrock","full_name":"analytics-pros/mozilla-bedrock","owner":{"login":"analytics-pros","id":57649,"avatar_url":"https://avatars.githubusercontent.com/u/57649?v=3","gravatar_id":"","url":"https://api.github.com/users/analytics-pros","html_url":"https://github.com/analytics-pros","followers_url":"https://api.github.com/users/analytics-pros/followers","following_url":"https://api.github.com/users/analytics-pros/following{/other_user}","gists_url":"https://api.github.com/users/analytics-pros/gists{/gist_id}","starred_url":"https://api.github.com/users/analytics-pros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analytics-pros/subscriptions","organizations_url":"https://api.github.com/users/analytics-pros/orgs","repos_url":"https://api.github.com/users/analytics-pros/repos","events_url":"https://api.github.com/users/analytics-pros/events{/privacy}","received_events_url":"https://api.github.com/users/analytics-pros/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/analytics-pros/mozilla-bedrock","description":"Making mozilla.org awesome, one pebble at a time","fork":true,"url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock","forks_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/forks","keys_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/teams","hooks_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/hooks","issue_events_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/issues/events{/number}","events_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/events","assignees_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/assignees{/user}","branches_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/branches{/branch}","tags_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/tags","blobs_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/git/refs{/sha}","trees_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/statuses/{sha}","languages_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/languages","stargazers_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/stargazers","contributors_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/contributors","subscribers_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/subscribers","subscription_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/subscription","commits_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/commits{/sha}","git_commits_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/git/commits{/sha}","comments_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/comments{/number}","issue_comment_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/issues/comments{/number}","contents_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/contents/{+path}","compare_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/merges","archive_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/downloads","issues_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/issues{/number}","pulls_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/pulls{/number}","milestones_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/milestones{/number}","notifications_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/labels{/name}","releases_url":"https://api.github.com/repos/analytics-pros/mozilla-bedrock/releases{/id}","created_at":"2015-03-16T18:31:34Z","updated_at":"2015-04-14T18:01:37Z","pushed_at":"2015-05-12T21:44:49Z","git_url":"git://github.com/analytics-pros/mozilla-bedrock.git","ssh_url":"git@github.com:analytics-pros/mozilla-bedrock.git","clone_url":"https://github.com/analytics-pros/mozilla-bedrock.git","svn_url":"https://github.com/analytics-pros/mozilla-bedrock","homepage":"http://mozilla.org","size":311984,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"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":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"1e6e2f55ddabf19a7f38a78ea83f1734603022cb","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":1616665,"name":"bedrock","full_name":"mozilla/bedrock","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/bedrock","description":"Making mozilla.org awesome, one pebble at a time","fork":false,"url":"https://api.github.com/repos/mozilla/bedrock","forks_url":"https://api.github.com/repos/mozilla/bedrock/forks","keys_url":"https://api.github.com/repos/mozilla/bedrock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/bedrock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/bedrock/teams","hooks_url":"https://api.github.com/repos/mozilla/bedrock/hooks","issue_events_url":"https://api.github.com/repos/mozilla/bedrock/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/bedrock/events","assignees_url":"https://api.github.com/repos/mozilla/bedrock/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/bedrock/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/bedrock/tags","blobs_url":"https://api.github.com/repos/mozilla/bedrock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/bedrock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/bedrock/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/bedrock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/bedrock/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/bedrock/languages","stargazers_url":"https://api.github.com/repos/mozilla/bedrock/stargazers","contributors_url":"https://api.github.com/repos/mozilla/bedrock/contributors","subscribers_url":"https://api.github.com/repos/mozilla/bedrock/subscribers","subscription_url":"https://api.github.com/repos/mozilla/bedrock/subscription","commits_url":"https://api.github.com/repos/mozilla/bedrock/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/bedrock/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/bedrock/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/bedrock/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/bedrock/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/bedrock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/bedrock/merges","archive_url":"https://api.github.com/repos/mozilla/bedrock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/bedrock/downloads","issues_url":"https://api.github.com/repos/mozilla/bedrock/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/bedrock/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/bedrock/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/bedrock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/bedrock/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/bedrock/releases{/id}","created_at":"2011-04-14T22:57:57Z","updated_at":"2015-05-13T06:37:25Z","pushed_at":"2015-05-14T15:45:06Z","git_url":"git://github.com/mozilla/bedrock.git","ssh_url":"git@github.com:mozilla/bedrock.git","clone_url":"https://github.com/mozilla/bedrock.git","svn_url":"https://github.com/mozilla/bedrock","homepage":"https://www.mozilla.org","size":352217,"stargazers_count":237,"watchers_count":237,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":327,"mirror_url":null,"open_issues_count":26,"forks":327,"open_issues":26,"watchers":237,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/2975"},"html":{"href":"https://github.com/mozilla/bedrock/pull/2975"},"issue":{"href":"https://api.github.com/repos/mozilla/bedrock/issues/2975"},"comments":{"href":"https://api.github.com/repos/mozilla/bedrock/issues/2975/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/2975/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/2975/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/bedrock/statuses/901850795d579561cd9e9330d267df9c56cc4e51"}}}}