Add unengaged subscribers prebuilt segment

MAILPOET-5685
This commit is contained in:
John Oleksowicz
2024-02-20 14:13:15 -06:00
committed by Aschepikov
parent 78dcd0fa3d
commit 94512ff543

View File

@@ -81,16 +81,37 @@ export const templates: SegmentTemplate[] = [
], ],
filtersConnect: SegmentConnectTypes.OR, filtersConnect: SegmentConnectTypes.OR,
}, },
// { {
// name: __('Unengaged Subscribers', 'mailpoet'), name: __('Unengaged Subscribers', 'mailpoet'),
// slug: 'unengaged-subscribers', slug: 'unengaged-subscribers',
// category: SegmentTemplateCategories.ENGAGEMENT, category: SegmentTemplateCategories.ENGAGEMENT,
// description: __( description: __(
// 'Contacts who havent interacted with your emails, havent made a purchase, or havent visited your page in the last 6 months.', 'Contacts who havent interacted with your emails, havent made a purchase, or havent visited your page in the last 6 months.',
// 'mailpoet', 'mailpoet',
// ), ),
// isEssential: true, filters: [
// }, {
segmentType: 'userRole',
action: 'lastEngagementDate',
operator: 'notInTheLast',
value: '180',
},
{
segmentType: 'userRole',
action: 'subscribedDate',
operator: 'notInTheLast',
value: '210',
},
{
segmentType: 'email',
action: 'numberReceived',
operator: 'more',
emails: '9',
timeframe: Timeframe.ALL_TIME,
},
],
isEssential: true,
},
// { // {
// name: __('First-Time Buyers', 'mailpoet'), // name: __('First-Time Buyers', 'mailpoet'),
// slug: 'first-time-buyers', // slug: 'first-time-buyers',