Scenario examples

Comparison without purchase

Added 2+ products to the comparison and did not buy — help them choose.

Trigger

the visitor added 2 or more products to the comparison list, and there is no order.

Push

“Hard to choose?” — back to the comparison.

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

What the site needs to do

The code runs in the handler of a successful “add to comparison” — after the server response, when the number of products in the list is known.

js
// Call after a product was added to the comparison list successfully,
// once the server has returned how many products the list now holds
function onCompareAdded(count) {
  if (count >= 2) {
    window.notirixTrigger('trg_cmp', {
      cmp_url: location.origin + '/compare/'   // comparison page
    }, 24);                                    // at most once a day
  }
}
⚠️
The link in the push. If the comparison list lives only in the session, the comparison page may be empty a few hours later. Options: keep the comparison in the profile of signed-in users — then the link works; or link to a catalog section — pass the section of the last added product in cmp_url.

For Bitrix: the comparison list is stored in the session by default, so this applies to it as well.

Segment

Audience → Segments → “Create Segment”

FieldValue
Segment NameTrigger · Comparison
GroupAND
Rules+ Tag → Tag key trg_cmp → = 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 · Comparison without purchase
Notification TitleHard to choose?
Notification BodyGet back to your comparison — we will help you pick the right model
Click URL{{ tag.cmp_url | default: "https://example.com/compare/" }}
Image URLoptional
Tagreminders
Action buttonsoptional: Open comparison → the same URL; Ask an expert → the contacts page

Journey settings

Journeys → “New Journey” → “Settings”

TabSettingValue
GeneralJourney NameTrigger · Comparison without purchase
Entry RulesInclude SegmentsTrigger · Comparison
Exclude Segmentsempty
Future additions onlyOn
Exit RulesOptionMeet a certain condition
Exit when custom event condition occursOn, purchase
Tag users when they exit earlytrg_cmp : 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 1 days
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: 1 Hours
   └─ Time Window: Mon–Sun, 10:00–21:00
      └─ Yes / No Branch: Tag equals value · trg_chk = 1
         ├─ Yes
         │  └─ Tag User: trg_cmp = 0
         │     └─ Exit
         └─ No
            └─ Push Notification: “Trigger · Comparison without purchase”
               └─ Tag User: trg_cmp = 0
                  └─ Exit
#NodeSettings
1WaitDelay: 1 Hours
2Time WindowAllowed days: all 7 (Mon–Sun). Time range: 10:00–21:00. Timezone: the time zone of your audience.
3Yes / No BranchCondition type: Tag equals value. Tag key trg_chk, Tag value 1. The Yes branch goes left, No goes right.
4 · YesTag UserTag key trg_cmp, Tag value 0
5 · YesExit—
4 · NoPush NotificationMessage Template: Trigger · Comparison without purchase
5 · NoTag UserTag key trg_cmp, Tag value 0
6 · NoExit—
⚠️
Both branches must be connected, otherwise the journey cannot be activated. In both branches the last step before the exit resets the flag tag to 0.

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.

💡
Why the branch. If the visitor has already moved on to checkout, the abandoned checkout journey sends them a reminder — the comparison push is not needed.

What happens in different situations

SituationResult
Added 2 products and bought within an hourThe purchase event → leaves the journey, no push
Added 2 products, then a third oneThe trigger is sent once: the next call falls under the “once a day” limit
Compared products and browsed a category at the same timeBoth pushes arrive if the frequency cap allows. To send only one, see “Priority over category interest”

Variations

Priority over category interest

A comparison is a “hotter” signal than browsing a category. To send only the comparison push when both triggers fire:

  • in the Category interest journey add a second “Yes / No Branch” before the push: “Tag equals value” trg_cmp = 1 → Yes: “Tag User” trg_cat = 0 → “Exit”;
  • keep the 1-hour wait here and raise it to 2 hours in Category interest.
NextRepeat section visits →