Skip to content

Commit

Permalink
Merge pull request #4852 from mozilla/mntor-3429
Browse files Browse the repository at this point in the history
Update Monitor CTA experiment copy (MNTOR-3429)
  • Loading branch information
flozia authored Jul 23, 2024
2 parents 414fdb8 + 5b20fee commit b70048b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/nimbus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ enums:
ctaOnly:
description: Only show a CTA button with the label “Get free scan”
ctaOnlyAlternativeLabel:
description: Only show a CTA button with the label “Sign in to get free scan”
description: Only show a CTA button with the label “Sign up to get free scan”
2 changes: 1 addition & 1 deletion locales/en/landing-all.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ landing-all-hero-lead = We scan data breaches to see if your data has been leake
landing-all-hero-emailform-input-placeholder = [email protected]
landing-all-hero-emailform-input-label = Enter your email address to check for data breach exposures.
landing-all-hero-emailform-submit-label = Get free scan
landing-all-hero-emailform-submit-sign-in-label = Sign in to get free scan
landing-all-hero-emailform-submit-sign-up-label = Sign up to get free scan
# This is a label underneath a big number "14" - it's an image that demos Monitor.
landing-all-hero-image-chart-label = exposures
Expand Down
2 changes: 1 addition & 1 deletion src/app/(proper_react)/(redesign)/(public)/FreeScanCta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const FreeScanCta = (
props.experimentData["landing-page-free-scan-cta"].variant ===
"ctaOnly"
? "landing-all-hero-emailform-submit-label"
: "landing-all-hero-emailform-submit-sign-in-label",
: "landing-all-hero-emailform-submit-sign-up-label",
)}
</TelemetryButton>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ describe("Free scan CTA experiment", () => {
expect(inputField.length).toBe(0);

const submitButton = screen.getAllByRole("button", {
name: "Sign in to get free scan",
name: "Sign up to get free scan",
});
expect(submitButton[0]).toBeInTheDocument();
});
Expand Down

0 comments on commit b70048b

Please sign in to comment.