mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
[web] Update Share modal paywall CTAs to point to the plans interstitial (#34410)
* [web] Send paywall upgrade CTAs to the plans interstitial * fix: encode upgradePlan campaign source with URLSearchParams Co-authored-by: lzear <8427791+lzear@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> GitOrigin-RevId: ddde4d77d72e649f5ded5839a2a2155e5f679f53
This commit is contained in:
committed by
Copybot
co-authored by
lzear
copilot-swe-agent[bot]
parent
a4c91ce671
commit
32664a1d12
@@ -39,6 +39,10 @@ export function upgradePlan(source: string) {
|
||||
}
|
||||
|
||||
if (openedWindow) {
|
||||
openedWindow.location = '/user/subscription'
|
||||
const searchParams = new URLSearchParams({
|
||||
itm_campaign: source,
|
||||
})
|
||||
|
||||
openedWindow.location = `/user/subscription/choose-your-plan?${searchParams.toString()}`
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user