Rules | What is "contains" versus "equals"?
An oversite we often see ChannelMix users make while creating Rules in the ChannelMix Control Center is "contains" versus "equals."
Let's take a look at what they each mean:
- contains
- Will include any field that starts with, ends with, or has the target field in the middle
- equals
- Must be identical to the target field
Example
I have the following campaign fields:
- Back to School
- Back to School 2023
- I'm ready for Back to School!
Contains
Let's first look at an example with contains:
campaign contains Back to school
If I use this expression, I will return all three campaign names because they all contain "Back to school".
Equals
Now let's see what happens if I use equals:
campaign equals Back to school
This time I will only return the first campaign because the phrases have to match exactly.
If you have questions or are still not sure, drop us a line in Community! We are happy to help clarify further.