Attributes - Tracker
Attribute: numberOfVisits
Profile: Current Tracker (currentTracker)
Data Type: integer
Sub-Attributes: NA
Description: returns a number of visits tracked by the current tracker, works only for customer visit tracker.
Operators: >,<,>=,<=,=
Syntax: currentTracker.numberOfVisits[OPERATORS][VALUE]
| Example: Write a condition to track if a customer total visits or the transaction count is equals to 9. |
|---|
| currentTrackerCondition.numberOfVisits>5 |
Attribute: trackedValue (Tracked Value)
Profile: Current Tracker (currentTracker)
Data Type: BigDecimal
Sub-Attributes: NA
Description: returns tracked value in the tracker for current events.
Operators: >,<,>=,<=,=
Syntax: currentTracker.trackedValue[OPERATORS][VALUE]
| Example: Write a condition to check if the Tracked Value is greater than 5000. |
|---|
| currentTrackerCondition.trackedValue>5000 |
Attribute: trackerConditionName
Profile: Current Tracker (currentTracker)
Data Type: String
Sub-Attributes: NA
Description: returns number of visits tracked by current tracker. works only for customer visit tracker.
Operators: contains, exists, isEmpty, isNotNull, isNull, isValidDate, matches and notExists
Syntax: currentTracker.tackerConditionName[OPERATORS][VALUE]
| Example: Write a condition to check if the tracker condition name is “Cond1” |
|---|
| currentTrackerCondition.trackerConditionName=="Cond1" |
Attribute: trackerConditionPeriod
Profile: Current Tracker (currentTracker)
Data Type: int
Sub-Attributes: NA
Description: Returns the tracking period value for the moving window tracker. The period determines the range of dates included in the calculation:
- If you set 'Period: 1 Day', the window includes both the previous day and the current event date. Transactions from both days are summed when evaluating the threshold condition.
- If you set 'Period: 0 Days', only transactions from the current event date are included.
Operators: >,<,>=,<=,==
Syntax: currentTracker.trackerConditionPeriod[OPERATORS][VALUE]
| Example: To track only today's transactions, set the tracker period to 0 days. To include both today and yesterday, set the period to 1 day. |
|---|
| currentTrackerCondition.trackerConditionPeriod==0 |
Attribute: trackerCurrAggr
Profile: Current Tracker (currentTracker)
Data Type: BigDecimal
Sub-Attributes: NA
Description: returns aggregate tracked value in current tracking period for all events including current event.
Operators: >,<,>=,<=,==
Syntax: currentTracker.trackerCurrAggr[OPERATORS][VALUE]
| Example: Write a condition to check if the tracker current aggregator is greater than 5000. |
|---|
| Rule: currentTracker.trackerCurrAggr >5000 |
Attribute: trackerInitialPrevAggr
Profile: Current Tracker (currentTracker)
Data Type: BigDecimal
Sub-Attributes: NA
Description: returns aggregate tracked value in current tracking period for all events including current event.
Operators: >,<,>=,<=,==
Syntax: currentTracker.trackerInitialPrevAggr[OPERATORS][VALUE]
| Example: Write a condition to check if the tracker Initial Prev Aggregator is less than 3000. |
|---|
| Rule: currentTracker.trackerCurrAggr < 3000 |
Attribute: trackerName
Profile: Current Tracker (currentTracker)
Data Type: String
Sub-Attributes: NA
Description: returns tracker name
Operators: contains, exists, isEmpty, isNotNull, isNull, isValidDate, matches and notExists, =
Syntax: currentTracker.trackerName[OPERATORS][VALUE]
| Example: Write a condition to check if the tracker name is Tracker1 |
|---|
| Rule: currentTracker.trackerName = “Tracker1” |
Attribute: trackerInitialPrevAggr
Profile: Current Tracker (currentTracker)
Data Type: String
Sub-Attributes: NA
Description: returns aggregate tracked value in current tracking period for all events excluding current event
Operators: >,<,>=,<=,=
Syntax: currentTracker.trackerName[OPERATORS][VALUE]
| Example: Write a condition to check if the tracker Initial Prev Aggregator is 300 |
|---|
| Rule: currentTracker.trackerInitialPrevAggr > 300. |
