Condition
CollectAction Conditions
Last updated
CollectAction Conditions
Last updated
Conditions in CollectAction offers a very flexible and wide filtering feature. It allows you to define very simple filters as well as complex nested filters.
A simple example : Let the people who visit the product page see the action.
A complex example : Users coming from Istanbul or Ankara between 20-22 hours should see the winter campaign action if the weather will drop below zero in the next 3 days.
We can divide the filters in the Conditions section into 3 main parts. These are grouped in Who, Where and When sections respectively. You can find more detailed information about the filters in these groups in the relevant sections of the document.
Who, Where, When are connected to each other with And.
If we evaluate a line in the Conditions section by itself, you can select a comparison suitable for the filter type you have selected and enter the values you want to be realized.
The leading part of each filter row indicates the type of that filter. There may be sub-branches prepared and branched according to this type. These have at least 1 comparison and 1 expected value part. When a filter type is defined, the system captures the actual value of that type and considers it to have passed the filter if it passes the comparison of the value with the predefined expected value according to the selection in the comparison section. To put it more simply using the example above, with this filter, the system allows the action to run if the type of a user (Filter Type) becomes a new user (Expected value) (Comparison).
You can find more detailed information about User Type in the Who Parameters section.
It is the part that specifies how the expected value part and the actual value captured with the filter type will be compared to each other in the comparison part. There is at least one comparison in each filter line. Comparison types in general;
Boolean
Text
Numerical
Temporal
The value checked in the filter is the value expected to be realized.
Allows you to remove the filter row
You can link multiple rows of a filter type together with the Or connector (number 5) to ensure that it works when any one of them is successfully executed.
You can connect multiple filters together with the And conjunction (number 6) to define that they must all occur successfully.
Conditions can be added in many ways from a filter line as above. Depending on how comprehensive or limited filtering you want to do, you can adjust your arrangements here.
In the CollectAction Conditions section, some filter rows may be locked and/or unchangeable. This is because these filter lines are required by the system for that action to work. It is defined by the system not to interfere with these filters.
The filter types All Users, Every Page, All the Time in the Who, Where, When sections are ineffective. They have no effect on filtering.
All Users: Includes All Users and this action works for all users.
Every Page: Includes all pages and this action works for all pages.
All The Time: It includes all times and this action works for all times.