Track MixPanel events for Settings [MAILPOET-998]

This commit is contained in:
stoletniy
2017-07-24 17:33:35 +03:00
committed by pavel-mailpoet
parent 7e6d900b53
commit 08bbfcb5e8
6 changed files with 71 additions and 2 deletions

View File

@@ -70,6 +70,14 @@ define(
// show "save settings" button
jQuery('.mailpoet_settings_submit').show();
MailPoet.trackEvent(
'User has clicked a tab in Settings',
{
'MailPoet Free version': window.mailpoet_version,
'Tab ID': tab
}
);
}
}));