mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 06:45:21 -05:00
e391a9fc46
[web] Add analytics to features link GitOrigin-RevId: 80cbba05dfc94bce0b2f0b25a41ac76c8d22eee6
9 lines
No EOL
925 B
Text
9 lines
No EOL
925 B
Text
- var featuresPageVariantNew = splitTestVariants && splitTestVariants['features-page'] && splitTestVariants['features-page'] === 'new'
|
|
|
|
- var newVariantSegmentation = {splitTest: 'features-page', splitTestVariant: 'new'}
|
|
- var defaultVariantSegmentation = {splitTest: 'features-page', splitTestVariant: 'default'}
|
|
|
|
if featuresPageVariantNew
|
|
p !{translate("get_most_subscription_by_checking_features", {}, [{name: 'a', attrs: {href: '/about/features-overview', 'event-tracking':'features-page-link', 'event-tracking-trigger': 'click', 'event-tracking-mb': 'true', 'event-segmentation': newVariantSegmentation}}])}
|
|
else
|
|
p !{translate("get_most_subscription_by_checking_premium_features", {}, [{name: 'a', attrs: {href: '/learn/how-to/Overleaf_premium_features', 'event-tracking':'features-page-link', 'event-tracking-trigger': 'click', 'event-tracking-mb': 'true', 'event-segmentation': defaultVariantSegmentation}}])} |