Make it so mix panel is the last installed and remove the unneeded call in the analytics snippet
This commit is contained in:
parent
777cc45fcb
commit
46a13706fa
2 changed files with 1 additions and 2 deletions
|
@ -89,7 +89,7 @@ function getMarkedDown(string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start the application code itself.
|
// 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) {
|
$provide.factory('CookieService', ['$cookies', '$cookieStore', function($cookies, $cookieStore) {
|
||||||
var cookieService = {};
|
var cookieService = {};
|
||||||
cookieService.putPermanent = function(name, value) {
|
cookieService.putPermanent = function(name, value) {
|
||||||
|
|
|
@ -83,7 +83,6 @@ var isProd = document.location.hostname === 'quay.io';
|
||||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
ga('create', isProd ? 'UA-34988886-5' : 'UA-34988886-4', 'quay.io');
|
ga('create', isProd ? 'UA-34988886-5' : 'UA-34988886-4', 'quay.io');
|
||||||
ga('send', 'pageview');
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
Reference in a new issue