From 46a13706fa6be45f9dcc6431ce44c89742284ea7 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 17 Dec 2013 18:41:30 -0500 Subject: [PATCH] Make it so mix panel is the last installed and remove the unneeded call in the analytics snippet --- static/js/app.js | 2 +- templates/base.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/static/js/app.js b/static/js/app.js index 5df70ae0e..8c8dc1610 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -89,7 +89,7 @@ function getMarkedDown(string) { } // Start the application code itself. -quayApp = angular.module('quay', ['ngRoute', 'restangular', 'angularMoment', 'angulartics', 'angulartics.mixpanel', 'angulartics.google.analytics', '$strap.directives', 'ngCookies'], function($provide) { +quayApp = angular.module('quay', ['ngRoute', 'restangular', 'angularMoment', 'angulartics', 'angulartics.google.analytics', 'angulartics.mixpanel', '$strap.directives', 'ngCookies'], function($provide) { $provide.factory('CookieService', ['$cookies', '$cookieStore', function($cookies, $cookieStore) { var cookieService = {}; cookieService.putPermanent = function(name, value) { diff --git a/templates/base.html b/templates/base.html index 84425bb2a..8d95172dc 100644 --- a/templates/base.html +++ b/templates/base.html @@ -83,7 +83,6 @@ var isProd = document.location.hostname === 'quay.io'; })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', isProd ? 'UA-34988886-5' : 'UA-34988886-4', 'quay.io'); - ga('send', 'pageview');