# Segment Logic

**URL:** <https://forum.mautic.org/t/segment-logic/5300>\
**Category:** Product Support\
**Created:** [September 12, 2016, 11:47am UTC](https://forum.mautic.org/t/segment-logic/5300 "2016-09-12T11:47:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pcantellow](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pcantellow](https://forum.mautic.org/u/pcantellow)\
**Post date:** [September 12, 2016, 11:47am UTC](https://forum.mautic.org/t/segment-logic/5300/1 "2016-09-12T11:47:12Z")

</div>

Hi,  
  
  
  
Can someone please explain the logic behind segments and tags. We have four versions of our products, and we would like to email people with certain versions and a certain number of versions. E.g. a user with version 1 and 2, and another user with version 3 and 4.  
  
  
  
Using the **excluding/including** and **and/or** operations, myself and Mautic appears to get confused, and I just can’t seem to get it right. With the wrong users in wrong places constantly. A user error, maybe, but I need to be made more clear about how it works.  
  
  
  
As I asked, does anyone know the logic behind each operation, it’s important we don’t send duplicate emails or send emails to the wrong people.  
  
  
  
Thank you,  
  
Patrick

---

<div class="post-metadata">

**Author:** ![pcantellow](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pcantellow](https://forum.mautic.org/u/pcantellow)\
**Post date:** [September 12, 2016, 11:47am UTC](https://forum.mautic.org/t/segment-logic/5300/2 "2016-09-12T11:47:12Z")

</div>

Hi,

Can someone please explain the logic behind segments and tags. We have four versions of our products, and we would like to email people with certain versions and a certain number of versions. E.g. a user with version 1 and 2, and another user with version 3 and 4.

Using the excluding/including and and/or operations, myself and Mautic appears to get confused, and I just can’t seem to get it right. With the wrong users in wrong places constantly. A user error, maybe, but I need to be made more clear about how it works.

As I asked, does anyone know the logic behind each operation, it’s important we don’t send duplicate emails or send emails to the wrong people.

Thank you,  
Patrick

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [September 12, 2016, 12:19pm UTC](https://forum.mautic.org/t/segment-logic/5300/3 "2016-09-12T12:19:23Z")

</div>

Sample:  
Yo create 4 tags each tag will be for a particular version (Version 1 Tag will be Version1 Version 2 Tag will be Version2

Now you create a Segment Version 1 Segment  
And use Include and select tag Version1

This mean Version 1 Segment will be only with Contact that have tag Version1
