Rename plan to planCode

GitOrigin-RevId: 401bcbe32e3f551d525ffb59fd548c153b82baca
This commit is contained in:
Alf Eaton 2021-05-07 10:04:51 +01:00 committed by Copybot
parent e832c9ed70
commit a1bc43d994

View file

@ -19,16 +19,19 @@ export default function StartFreeTrialButton({
eventTracking.send('subscription-funnel', 'upgraded-free-trial', source)
const plan = 'collaborator_free_trial_7_days'
const planCode = 'collaborator_free_trial_7_days'
eventTracking.sendMB('subscription-start-trial', { source, plan })
eventTracking.sendMB('subscription-start-trial', {
source,
plan: planCode,
})
if (setStartedFreeTrial) {
setStartedFreeTrial(true)
}
const params = new URLSearchParams({
planCode: plan,
planCode,
ssp: 'true',
itm_campaign: source,
})