Permalink
Browse files

Fixes #1113 - Fixed GA event usage. eventValue is number only, so us…

… eventLabel instead.
  • Loading branch information...
allanmc committed Nov 11, 2015
1 parent 3635608 commit 24dc746fa2e6a7249aa04da3d124a1c432c13c5b
Showing with 3 additions and 3 deletions.
  1. +2 −2 public/create/scripts/app_controller.js
  2. +1 −1 public/js/frontpage.jquery.js
@@ -31,7 +31,7 @@ app.controller('appController', [ '$http', '$scope', 'userService', '$rootScope'
hitType: 'event',
eventCategory: 'Onboarding',
eventAction: 'Social login',
eventValue: provider,
eventLabel: provider,
hitCallback: function() {
$window.location = '../auth/'+provider;
}
@@ -107,7 +107,7 @@ app.controller('appController', [ '$http', '$scope', 'userService', '$rootScope'
hitType: 'event',
eventCategory: 'Onboarding',
eventAction: 'Buy premium subscription',
eventValue: '9.99'
eventLabel: '9.99'
});
next();
@@ -326,7 +326,7 @@ function socialLogin(provider) {
hitType: 'event',
eventCategory: 'Onboarding',
eventAction: 'Frontpage social login',
eventValue: provider,
eventLabel: provider,
hitCallback: function() {
window.location = 'auth/'+provider;
}

0 comments on commit 24dc746

Please sign in to comment.