Merge pull request #1420 from mailpoet/mpre84
Automatic email type selected tracking [PREMIUM-84]
This commit is contained in:
@@ -14,6 +14,11 @@ class AutomaticEmailEventsList extends React.Component {
|
||||
}
|
||||
|
||||
eventsConfigurator(eventSlug) {
|
||||
MailPoet.trackEvent('Emails > Automatic Type selected', {
|
||||
'MailPoet Free version': window.mailpoet_version,
|
||||
'MailPoet Premium version': window.mailpoet_premium_version,
|
||||
'Email type': eventSlug,
|
||||
});
|
||||
this.props.router.push(`new/${this.email.slug}/${eventSlug}/conditions`);
|
||||
}
|
||||
|
||||
|
@@ -130,6 +130,13 @@ var baseConfig = {
|
||||
'babel-loader',
|
||||
]
|
||||
},
|
||||
{
|
||||
include: path.resolve(__dirname, 'assets/js/src/newsletters/listings/heading.jsx'),
|
||||
use: [
|
||||
'expose-loader?' + globalPrefix + '.NewslettersListingsHeading',
|
||||
'babel-loader',
|
||||
]
|
||||
},
|
||||
{
|
||||
include: path.resolve(__dirname, 'assets/js/src/form/fields/selection.jsx'),
|
||||
use: [
|
||||
@@ -252,6 +259,7 @@ var adminConfig = {
|
||||
'newsletters/breadcrumb.jsx',
|
||||
'newsletters/listings/tabs.jsx',
|
||||
'newsletters/listings/mixins.jsx',
|
||||
'newsletters/listings/heading.jsx',
|
||||
'newsletters/types/automatic_emails/events_list.jsx',
|
||||
'newsletters/types/automatic_emails/breadcrumb.jsx',
|
||||
'newsletters/types/welcome/scheduling.jsx',
|
||||
|
Reference in New Issue
Block a user