Multiple OR operators in a segment

I want to set up a segment which filters using:
Custom Field 1 Equals YES
OR
Custom Field 2 Equals YES

Currently, am I right in thinking that it is only possible to have it set as:
Custom Field 1 Equals YES
AND
Custom Field 2 Equals YES

or...

Custom Field 1 Equals YES
OR
Custom Field 1 Equals NO

It seems like something that would be there, am I just missing it? Otherwise, it would be great to have the option to have an OR between 2 different data fields rather than the only current option of AND.

roshodgekiss roshodgekiss, 7 years ago

Hi OllyPercival, the easiest way to achieve the OR operator is to create two segments. When your campaign is sent, it will only go to unique subscribers, meaning that subscribers in the intersection between Custom Field 1 = YES OR Custom Field 2 = YES will only be sent one email.

Your examples above are correct, the OR operator can only be used when adding criteria for a single custom field. I enjoy logic questions, so please feel free to discuss this further.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
OllyPercival OllyPercival, 7 years ago

Thanks for the quick response, who doesn't love a good logic question?

Is there an OR feature in the pipeline? It seems a little strange it's not there already! Surely it just needs the code to be extended a bit to cover an extra boolean? Thanks for the suggestion though, it's enough to be getting on with for now although I will actually have to create quite a few segments for all of the OR operators I need.

roshodgekiss roshodgekiss, 7 years ago

Hi again, I've passed on your request - it's always great to receive suggestions as to how we can improve the creation of segments. In time I hope we can extend this feature - do give us a buzz if we can help out further.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
thesteph, 5 years ago

I've run into the same problem as the OP. I've just had to create 13 different segments in order to send a single email to the subscribers we want to target. Is there any reason why Campaign Monitor does not wish to allow multiple OR operators in a segment?

Also, are there any plans to allow us to exclude segments when sending? I would like to be able to choose to send to "All subscribers" of a list, excluding certain segments of that list. That would be super handy.

Please forgive me for dredging up such an old thread.

roshodgekiss roshodgekiss, 5 years ago

Hi thesteph, welcome to the forums! No problems at all, I'm glad to help here.

Is there any reason why Campaign Monitor does not wish to allow multiple OR operators in a segment?

We've been considering this one for quite a while now and in all honesty, it just hasn't yet made it into our shortlist of things to add in an upcoming release. But I've added your vote and hopefully, we'll see it featured in the near future.

Also, are there any plans to allow us to exclude segments when sending?

Not at present, however I'll add your vote for this, too. Many thanks for the great feedback here - we'll be in touch as we make improvements to how we create segments.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098