diff --git a/static/js/controllers.js b/static/js/controllers.js index 01db00317..c7e71d837 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -160,6 +160,14 @@ function LandingCtrl($scope, $timeout, Restangular, UserService) { newUserPost.customPOST($scope.newUser).then(function() { $scope.awaitingConfirmation = true; $scope.registering = false; + + mixpanel.alias($scope.newUser.username); + mixpanel.people.set_once({ + '$email': $scope.newUser.email, + '$username': $scope.newUser.username, + '$created': new Date(), + 'verified': false + }); }, function(result) { $scope.registering = false; $scope.registerError = result.data.message; diff --git a/static/partials/landing.html b/static/partials/landing.html index 6a9a73f3c..639b2e6f5 100644 --- a/static/partials/landing.html +++ b/static/partials/landing.html @@ -42,7 +42,7 @@
No credit card required.