Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.
SOLVED

what is the diff between contains and equals in segmentation

Avatar

Level 3

Example indicating difference between "contains" and "equals" in segments

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi Anshika - 

"Contains" will filter out any words in a certain list/page url and "equals" means exact match.
e.g.- If you want to see a stats for page url http://www.adobe.com including sub-pages, then you should use "contains" or "starts with" option

And

   If you want to see a stats for page url http://www.adobe.com ONLY, then you should use "equal" option

Hope this helps.

Regards,

-Suhail

View solution in original post

2 Replies

Avatar

Level 10

Let suppose you are trying to segment a list of product names which include - 

prod1, prod2, prod3, prod4, prod5

in segment builder if you put product name contains 'prod' the result would be - prod1, prod2, prod3, prod4, prod5

and if you put product name equals 'prod4' the result would be - prod4

so in essence 'equals' gives an exact match and 'contains' pulls the whole string which contains the said expression

Hope that helps.

Tanmay 

Avatar

Correct answer by
Level 3

Hi Anshika - 

"Contains" will filter out any words in a certain list/page url and "equals" means exact match.
e.g.- If you want to see a stats for page url http://www.adobe.com including sub-pages, then you should use "contains" or "starts with" option

And

   If you want to see a stats for page url http://www.adobe.com ONLY, then you should use "equal" option

Hope this helps.

Regards,

-Suhail