Merge pull request #5045 from overleaf/ab-fix-event-property-errors

Cleanup event properties flagged in Human37 recommendation

GitOrigin-RevId: f09f06b86a38ddb430902ba71df4d1b002eaaec6
This commit is contained in:
Timothée Alby 2021-09-16 10:47:25 +02:00 committed by Copybot
parent 8d03e03d4d
commit cfd5a86184
2 changed files with 1 additions and 2 deletions

View file

@ -382,7 +382,6 @@ module.exports = CollaboratorsInviteController = {
'project-invite-accept', 'project-invite-accept',
{ {
projectId, projectId,
userId: currentUser._id,
} }
) )
if (req.xhr) { if (req.xhr) {

View file

@ -35,7 +35,7 @@ export default App.controller(
const currentPlanCode = window.plan_code const currentPlanCode = window.plan_code
const planCode = currentPlanCode.replace('collaborator', 'student') const planCode = currentPlanCode.replace('collaborator', 'student')
eventTracking.sendMB('payment-page-switch-to-student', { eventTracking.sendMB('payment-page-switch-to-student', {
plan: window.plan_code, plan_code: window.plan_code,
}) })
eventTracking.send( eventTracking.send(
'subscription-funnel', 'subscription-funnel',