mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-01 15:50:11 -04:00
Turning off signup title and description A/B tests
These have been on a long time. Using short title and no description. Data from Mixpanel: Description on: no 42.09 yes 41.91 Title length: short 42.26 long 41.74
This commit is contained in:
parent
7854d6bf5a
commit
3deef7f5da
3 changed files with 1 additions and 14 deletions
app
|
@ -111,8 +111,6 @@
|
|||
signup_switch: "Want to create an account?"
|
||||
|
||||
signup:
|
||||
create_account_title: "Create Account to Save Progress"
|
||||
description: "It's free. Just need a couple things and you'll be good to go:"
|
||||
email_announcements: "Receive announcements by email"
|
||||
creating: "Creating Account..."
|
||||
sign_up: "Sign Up"
|
||||
|
|
|
@ -9,10 +9,7 @@
|
|||
if mode === 'login'
|
||||
h1(data-i18n="login.log_in") Log In
|
||||
if mode === 'signup'
|
||||
if title === 'short'
|
||||
h1(data-i18n="login.sign_up") Create Account
|
||||
else
|
||||
h1(data-i18n="signup.create_account_title").long-title Create Account to Save Progress
|
||||
h1(data-i18n="login.sign_up") Create Account
|
||||
|
||||
div#close-modal
|
||||
span.glyphicon.glyphicon-remove
|
||||
|
@ -24,9 +21,6 @@
|
|||
.alert.alert-success
|
||||
span(data-i18n="signup.required") You need to log in before you can that way.
|
||||
|
||||
else if mode === 'signup' && descriptionOn === "yes"
|
||||
p(data-i18n="signup.description") It's free. Just need a couple things and you'll be good to go:
|
||||
|
||||
form.form
|
||||
.form-group
|
||||
label.control-label(for="email")
|
||||
|
|
|
@ -33,11 +33,6 @@ module.exports = class AuthModal extends ModalView
|
|||
getRenderData: ->
|
||||
c = super()
|
||||
c.showRequiredError = @options.showRequiredError
|
||||
c.title = {0: 'short', 1: 'long'}[me.get('testGroupNumber') % 2]
|
||||
c.descriptionOn = {0: 'yes', 1: 'no'}[Math.floor(me.get('testGroupNumber')/2) % 2]
|
||||
if @mode is 'signup'
|
||||
application.tracker.identify authModalTitle: c.title
|
||||
application.tracker.trackEvent 'Started Signup', authModalTitle: c.title, descriptionOn: c.descriptionOn
|
||||
c.mode = @mode
|
||||
c.formValues = @previousFormInputs or {}
|
||||
c.me = me
|
||||
|
|
Loading…
Add table
Reference in a new issue