what is the diff between contains and equals in segmentation

Avatar

Avatar

anshikaa5057434

Avatar

anshikaa5057434

anshikaa5057434

01-11-2016

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Suhail_Parkar

Avatar

Suhail_Parkar

Suhail_Parkar

03-11-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

Answers (1)

Answers (1)

Avatar

Avatar

TanmayMathur

Employee

Total Posts

1.2K

Likes

241

Correct Answer

421

Avatar

TanmayMathur

Employee

Total Posts

1.2K

Likes

241

Correct Answer

421
TanmayMathur
Employee

02-11-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