what is the diff between contains and equals in segmentation | Community
Skip to main content
anshikaa5057434
Level 2
November 2, 2016
Solved

what is the diff between contains and equals in segmentation

  • November 2, 2016
  • 2 replies
  • 7766 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Suhail_Parkar

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

2 replies

TanmayMathur
Adobe Employee
Adobe Employee
November 2, 2016

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 

Suhail_Parkar
Suhail_ParkarAccepted solution
Level 3
November 3, 2016

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