Skip to content

Commit

Permalink
Removed Google Analytics tracking.
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebdavis committed Jan 12, 2015
1 parent e2d52ab commit a7450de
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions app/scripts/background.js
Expand Up @@ -2,16 +2,6 @@

console.log('Tab Search starting!');

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-58195300-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = 'https://ssl.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

function handleSpotlight(request) {
var port = this;

Expand All @@ -20,7 +10,6 @@ function handleSpotlight(request) {
chrome.tabs.sendMessage(port.sender.tab.id, {tabs: tabs});
});
} else if (request.hasOwnProperty('activate')) {
_gaq.push(['_trackEvent', 'Background', 'Activate']);
chrome.tabs.update(request.activate, {active: true});
}
}
Expand Down

0 comments on commit a7450de

Please sign in to comment.