mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
8d03e03d4d
commit
cfd5a86184
2 changed files with 1 additions and 2 deletions
|
@ -382,7 +382,6 @@ module.exports = CollaboratorsInviteController = {
|
||||||
'project-invite-accept',
|
'project-invite-accept',
|
||||||
{
|
{
|
||||||
projectId,
|
projectId,
|
||||||
userId: currentUser._id,
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
if (req.xhr) {
|
if (req.xhr) {
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue