-
Notifications
You must be signed in to change notification settings - Fork 693
Relative date ranges in segments
This feature applies to Mailtrain v1.12+
In addition to exact matches and date ranges you can also use relative date ranges in segments where a date field is compared against current date. This allows you to create segments like "from 7 days before today to 5 days after today" where today means current date in UTC timezone.
To start create a new rule for a segment and choose a date field like Sign-up date or some custom date field (you can only use full date fields, birthday fields are not supported).
Next check the radio button for "Use relative range match" and set the start and end values for the range. Using "0 days before/after today" means current date.
Once you have created the rule, it should appear in the segment rules list
In case of range start the date value means the beginning of that day in UTC. In case of range end the date value means the end of that day in UTC.
© 2016 Kreata OÜ Mailtrain.org, [email protected].