diff --git a/app/coffee/modules/auth.coffee b/app/coffee/modules/auth.coffee index 031443c1..2d55330e 100644 --- a/app/coffee/modules/auth.coffee +++ b/app/coffee/modules/auth.coffee @@ -533,6 +533,9 @@ InvitationDirective = ($auth, $confirm, $location, $config, $params, $navUrls, $ onSuccessSubmitRegister = (response) -> $analytics.trackEvent("auth", "invitationAccept", "invitation accept with new user", 1) + $analytics.trackEvent("auth", "register", "user registration", 1) + $analytics.addEcStep("register", null, null) + $location.path($navUrls.resolve("project", {project: $scope.invitation.project_slug})) $confirm.notify("success", "You've successfully joined this project", "Welcome to #{_.escape($scope.invitation.project_name)}")