-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🪟 🧪 Add Purchase credits CTA on trial expiry banner. #22207
🪟 🧪 Add Purchase credits CTA on trial expiry banner. #22207
Conversation
e54b2be
to
ed8dcc8
Compare
@@ -38,6 +38,8 @@ const MainView: React.FC<React.PropsWithChildren<unknown>> = (props) => { | |||
const alertToShow = showCreditsBanner ? "credits" : cloudWorkspace.trialExpiryTimestamp ? "trial" : undefined; | |||
// exp-speedy-connection | |||
const { isExperimentVariant } = useExperimentSpeedyConnection(); | |||
|
|||
const trialUpgradeCTA = useExperiment("trial.upgrade.cta", ""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not build custom experiment flags for overwriting strings. We already have a mechanism that ANY string can be experimented with using LaunchDarkly and those strings ID. See also this (internal) documentation for it: https://www.notion.so/How-to-setup-i18n-string-experiments-a661f4d933f94c3f9f7beb438d75a6eb
This PR should only add the lnk
property to the trial.alertMessage
and turn it into a FormattedMessage
(so it can render the link), but there's no need to introduce a new experiment. Instead we should experiment with the message via the existing system.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh thanks for that! Now that I read it again, I remember you explain this during onboarding. I will adjust!
values={{ | ||
remainingDays: trialRemainingDays, | ||
cta: trialUpgradeCTA, | ||
lnk: (ctaMessage: React.ReactNode) => ctaMessage && <Link to={CloudRoutes.Credits}>{ctaMessage}</Link>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be no need to check for ctaMessage &&
here.
Right now there's no clear path for users that want to become customers during trial. We want to test different CTAs to see if: - having a CTA increase conversion to paid - different CTAs have different impact on conversion to paid More context: https://airtable.com/appIuY0uKPVnk8TWT/tbl2SxXnUwf6fVCWS/viw9frYvld7ks7aNo/recEy67ZVQHbOFzxJ?blocks=hide
17988b0
to
2c63876
Compare
* master: (24 commits) Discover worker starts to use API to write schema result (#21875) 🪟 🎉 Connector Builder Landing Page (#22122) Fix pnpm cache path (#22418) Add additional shorter setup guides (#22318) Source Amazon Ads: fix reports stream records primary keys (#21677) Connector acceptance test: Fix discovered catalog caching for different configs (#22301) 🪟🐛 Make modal scrollable (#21973) only compute diff if the schema discovery actually succeeded (#22377) Source Klaviyo: fix schema (#22071) 🪟 🔧 Switch to `pnpm` for package managing (#22053) Source Sentry: turn on default availability strategy (#22303) Source freshdesk: deduplicate table names (#22164) Update connector-acceptance-tests-reference.md (#22370) Update the default security groups for the EC2 runner (#22347) Trace refresh schema operations (#22326) Remove manual docker upgrades from workflows (#22344) Update CODEOWNERS for connector acceptance tests to connector ops (#22341) 🐛 source: airtable - handle singleSelect types (#22311) Source tiktok: chunk advertiser IDs (#22309) 🪟 🧪 E2E Tests for auto-detect schema changes (#20682) ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, have not tested locally
Right now there's no clear path for users that want to become customers during trial. We want to test different CTAs to see if: - having a CTA increase conversion to paid - different CTAs have different impact on conversion to paid More context: https://airtable.com/appIuY0uKPVnk8TWT/tbl2SxXnUwf6fVCWS/viw9frYvld7ks7aNo/recEy67ZVQHbOFzxJ?blocks=hide
Right now there's no clear path for users that want to become customers during trial.
We want to test different CTAs to see if:
More context: https://airtable.com/appIuY0uKPVnk8TWT/tbl2SxXnUwf6fVCWS/viw9frYvld7ks7aNo/recEy67ZVQHbOFzxJ?blocks=hide