mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 18:51:30 +00:00
Rename plan to planCode
GitOrigin-RevId: 401bcbe32e3f551d525ffb59fd548c153b82baca
This commit is contained in:
parent
e832c9ed70
commit
a1bc43d994
1 changed files with 6 additions and 3 deletions
|
@ -19,16 +19,19 @@ export default function StartFreeTrialButton({
|
||||||
|
|
||||||
eventTracking.send('subscription-funnel', 'upgraded-free-trial', source)
|
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) {
|
if (setStartedFreeTrial) {
|
||||||
setStartedFreeTrial(true)
|
setStartedFreeTrial(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
const params = new URLSearchParams({
|
const params = new URLSearchParams({
|
||||||
planCode: plan,
|
planCode,
|
||||||
ssp: 'true',
|
ssp: 'true',
|
||||||
itm_campaign: source,
|
itm_campaign: source,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue