mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #10418 from overleaf/msm-fix-itm-campaign
Fix `itm_campaign=undefined` in insterstitial plans page GitOrigin-RevId: 4826b507a93d3c324d600a938234ba31b4582955
This commit is contained in:
parent
edeaa4baa0
commit
75fcdafb15
1 changed files with 2 additions and 1 deletions
|
@ -513,8 +513,9 @@ mixin additional_link_group(eventTrackingKey, additionalEventSegmentation, plan)
|
||||||
mixin additional_link_buy(eventTrackingKey, additionalEventSegmentation, plan, period)
|
mixin additional_link_buy(eventTrackingKey, additionalEventSegmentation, plan, period)
|
||||||
- var buttonSegmentation = plan + '-link'
|
- var buttonSegmentation = plan + '-link'
|
||||||
- var segmentation = JSON.stringify(Object.assign({}, {button: buttonSegmentation, location: 'table-header', period}, additionalEventSegmentation))
|
- var segmentation = JSON.stringify(Object.assign({}, {button: buttonSegmentation, location: 'table-header', period}, additionalEventSegmentation))
|
||||||
|
- var itmCampaign = itm_campaign ? { itm_campaign } : {itm_campaign: 'plans'}
|
||||||
- var itmReferrer = itm_referrer ? { itm_referrer } : {}
|
- var itmReferrer = itm_referrer ? { itm_referrer } : {}
|
||||||
- var qs = new URLSearchParams({planCode: plan, currency: recommendedCurrency, itm_campaign, itm_content: 'card', ...itmReferrer})
|
- var qs = new URLSearchParams({planCode: plan, currency: recommendedCurrency, itm_content: 'card', ...itmCampaign, ...itmReferrer})
|
||||||
small.plans-v2-table-th-content-additional-link
|
small.plans-v2-table-th-content-additional-link
|
||||||
| #{translate("or")}
|
| #{translate("or")}
|
||||||
a(
|
a(
|
||||||
|
|
Loading…
Reference in a new issue