Scenario examples

Abandoned checkout

Started checkout but did not place the order within 30 minutes — remind them to come back.

Trigger

the visitor reached the delivery or payment step, and there is no order 30 minutes later.

Push

a reminder to come back and finish the order.

ℹ️
Before you start, complete the base setup — it is shared by all scenarios.

What the site needs to do

The code goes on the delivery or payment step: it runs on page load, or when a one-page checkout switches to that step.

html
<script>
  // Checkout step with delivery or payment: on page load,
  // or when a one-page checkout switches to this step
  window.notirixTrigger('trg_chk', {
    chk_url: location.origin + '/checkout/'   // checkout page
  }, 12);                                     // at most once in 12 hours
</script>
ℹ️
The “Thank you for your order” page must call window.notirixPurchase() — see the base setup. It takes the visitor out of the journey when the order is placed during the wait.

For Bitrix: the standard checkout page is /personal/order/make/ (the sale.order.ajax component) — use it in chk_url.

Segment

Audience → Segments → “Create Segment”

FieldValue
Segment NameTrigger · Checkout started
GroupAND
Rules+ Tag → Tag key trg_chk → = equals → 1

No other rules are needed. Right after creation “Preview Audience” shows 0 — that is expected: the flag appears once the trigger fires on the site.

Message template

Messages → Templates → “New Template”

FieldValue
Template NameTrigger · Abandoned checkout
Notification TitleYou did not finish your order
Notification BodyYour items are waiting in the cart — checkout takes just a couple of minutes
Click URL{{ tag.chk_url | default: "https://example.com/cart/" }}
Image URLoptional, e.g. a cart banner
Tagreminders
Action buttonsoptional: Complete order → the same URL as in “Click URL”

Replace https://example.com with your own domain.

Journey settings

Journeys → “New Journey” → “Settings”

TabSettingValue
GeneralJourney NameTrigger · Abandoned checkout
Entry RulesInclude SegmentsTrigger · Checkout started
Exclude Segmentsempty
Future additions onlyOn
Exit RulesOptionMeet a certain condition
Exit when custom event condition occursOn, purchase
Tag users when they exit earlytrg_chk : 0
Other checkboxesOff
Re-entryOptionYes, after a certain amount of time: 1 Minutes
ScheduleStart / EndImmediately when activated / Never ends
FrequencyRespect the app frequency capOn
This journey's limitOn: Max pushes 1, Period 12 hours
When the limit is reachedSkip the push
ℹ️
The values are the same for every example scenario — only the name, the segment, the flag tag and the period of the journey limit differ. Why these values were chosen is explained in the base setup.

Journey steps

text
Entrance
└─ Wait: 30 Minutes
   └─ Time Window: Mon–Sun, 09:00–22:00
      └─ Push Notification: “Trigger · Abandoned checkout”
         └─ Tag User: trg_chk = 0
            └─ Exit
#NodeSettings
1WaitDelay: 30 Minutes
2Time WindowAllowed days: all 7 (Mon–Sun). Time range: 09:00–22:00. Timezone: the time zone of your audience.
3Push NotificationMessage Template: Trigger · Abandoned checkout
4Tag UserTag key trg_chk, Tag value 0
5Exit—

When you are done, click “Save” and then “Activate”. On activation Notirix checks the graph: every node is connected, the template is selected, the segment exists. All problems are listed in one message.

What happens in different situations

SituationResult
Placed the order within 30 minutesThe purchase event → leaves the journey, no push
Started checkout at 23:40Waits until 00:10, then the Time Window holds them until 09:00 — the push goes out at 09:00
Already got 3 pushes from other journeys todayThe push is skipped, the flag is reset, the reminder is dropped
Came back to checkout an hour after the pushNo new push: the journey limit is 1 push in 12 hours. The site does not set the trigger again either (throttleHours = 12), so there is no needless journey entry
An hour after the push, abandoned checkout on another deviceThe site on the other device sets the trigger (throttleHours lives in the browser), the visitor enters the journey, but the journey limit skips the push — no duplicate reminder
Came back 13 hours later and left againEnters the journey again and gets a new reminder: the journey limit has a free slot again (if the app cap allows too)

Variations

Second wave a day later

Add more steps after the push, keeping “Tag User: trg_chk = 0” the very last one:

text
… Push Notification #1 → Wait 1 Days → Time Window
  → Push Notification #2 (another template, e.g. with a promo code)
  → Tag User trg_chk = 0 → Exit

The second push also counts toward the app cap: when the cap is used up, it is skipped. The journey limit “1 in 12 hours” does not affect it — the pushes are a day apart. If you make the journey limit period longer than a day, set Max pushes to 2.

Signed-in users only

If guest checkouts should not get reminders, add a rule to the segment on a tag the site sets for signed-in users, e.g. is_auth = 1.

NextCategory interest →