Skip to content

Commit

Permalink
feat: [DPMMA-2688] smart campaign schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykgruszka committed Apr 30, 2024
1 parent 9f261b2 commit f9ad0d3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/campaigns/campaign_builder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,28 @@ This **doesn't work** for the Anniversary option.

If a Contact appears again at a later date in that Segment because the value of the date has changed, then the Contact passes through the Campaign only once, and hence isn't included in the Campaign again.


Smart event schedule
~~~~~~~~~~~~~~~~~~~~~

For the Send Email, Marketing Message, Push Contact to Integration and Send a Webhook actions, Mautic provides a smart event schedule option. This feature dynamically optimizes the timing of event execution based on individual Contact behaviors, increasing the likelihood of engagement.

**How it Works**

1. **Interaction data retrieval**: the system retrieves interaction data for the Contact, including Email reads, Landing Page hits and Form submissions, to analyze the Contact's engagement patterns.

2. **Minimum interactions requirement**: a Contact must have a minimum number of interactions for the system to calculate optimal timing. Each interaction type (Email open, website visit, Form submit) counts only once per hour. When a Contact doesn't have enough interaction data, default hour ranges and days adjust to the Contact's preferred timezone.

3. **Optimal time calculation (execute event within 24 hours)**: based on the Contact's interaction data, the system calculates the optimal time for executing a Campaign event, considering the Contact's historical engagement patterns.
- If the Contact is within the optimal window at that moment, the event executes immediately.
- If the current time is before today's optimal window, the event schedules for the first hour of that window.
- If the current time is after today's optimal window, the event schedules for the first hour of the next day's optimal window.

4. **Optimal date calculation (execute event within 7 days)**: the system calculates the optimal time as in the previous option and additionally determines the best day of the week. By default, a Contact can have multiple optimal days.
- If the Contact is within the optimal window at that moment, the event executes immediately.
- If the current time and day are before the optimal window, it schedules for the first optimal hour of the next optimal day.


.. vale off
Triggering Campaign events
Expand Down

0 comments on commit f9ad0d3

Please sign in to comment.