Przeglądaj źródła

Merge pull request #3882 from overleaf/ab-wfh-ga-events

Add new GA events to WFH2021 links

GitOrigin-RevId: 939f589c359a97b794eceb8e493cccd95ec1913a
Shane Kilkelly 5 lat temu
rodzic
commit
16d02c9d8b

+ 1 - 1
services/web/app/views/project/list/notifications.pug

@@ -244,7 +244,7 @@ include ../../_mixins/reconfirm_affiliation
 					.notification-body
 					.notification-body
 						span To help you work from home throughout 2021, we're providing discounted plans and special initiatives.
 						span To help you work from home throughout 2021, we're providing discounted plans and special initiatives.
 					.notification-action
 					.notification-action
-						a.pull-right.btn.btn-sm.btn-info(href="https://www.overleaf.com/events/wfh2021") Upgrade
+						a.pull-right.btn.btn-sm.btn-info(href="https://www.overleaf.com/events/wfh2021" event-tracking="Event-Pages" event-tracking-trigger="click" event-tracking-ga="WFH-Offer-Click" event-tracking-label="Dash-Banner") Upgrade
 					.notification-close
 					.notification-close
 						button(ng-click="dismiss()").close.pull-right
 						button(ng-click="dismiss()").close.pull-right
 							span(aria-hidden="true") ×
 							span(aria-hidden="true") ×

+ 1 - 1
services/web/app/views/project/list/side-bar.pug

@@ -146,4 +146,4 @@ if (showUserDetailsArea)
 			hr
 			hr
 			p.small To help you work from home throughout 2021, we're providing discounted plans and special initiatives.
 			p.small To help you work from home throughout 2021, we're providing discounted plans and special initiatives.
 			p
 			p
-				a(href="https://www.overleaf.com/events/wfh2021").btn.btn-primary Upgrade
+				a(href="https://www.overleaf.com/events/wfh2021" event-tracking="Event-Pages" event-tracking-trigger="click" event-tracking-ga="WFH-Offer-Click" event-tracking-label="Dash-Sidebar").btn.btn-primary Upgrade

+ 1 - 1
services/web/app/views/subscriptions/plans.pug

@@ -22,7 +22,7 @@ block content
 							.notification-body
 							.notification-body
 								span To help you work from home throughout 2021, we're providing discounted plans and special initiatives.
 								span To help you work from home throughout 2021, we're providing discounted plans and special initiatives.
 							.notification-action
 							.notification-action
-								a.btn.btn-sm.btn-info(href="https://www.overleaf.com/events/wfh2021") Upgrade
+								a.btn.btn-sm.btn-info(href="https://www.overleaf.com/events/wfh2021" event-tracking="Event-Pages" event-tracking-trigger="click" event-tracking-ga="WFH-Offer-Click" event-tracking-label="Plans-Banner") Upgrade
 		main.content-page
 		main.content-page
 			.plans(ng-controller="PlansController")
 			.plans(ng-controller="PlansController")
 				.container(ng-cloak)
 				.container(ng-cloak)