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

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.
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

2 replies

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

Translate
TanmayMathur
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 

Translate