Web Personalization segment URL match cannot match when there is space or %20

evanbo
Level 1

Web Personalization segment URL match cannot match when there is space or %20

Hi, 

 

I am trying to use web personalization feature and setting up the segment. My current URL contains parameters with space (e.g. xxx.com?utm=web%20person ), when I set the rules in segment, it cannot be matched if I simply put *utm=web%20person* in the URL matches box. However *20person* (without % symbol) works fine

 

Is this a bug? Or how could I handle space while matching URL in segment? Thanks!

 

evanbo_0-1652313098863.png

 

2 REPLIES 2
Darshil_Shah1
Level 10 - Community Advisor

Re: Web Personalization segment URL match cannot match when there is space or %20

You're right, "Include Pages" filter in the web segments doesn't like the '%' character! I would suggest using UTMs w/o spaces or using an underscore character '_' instead of the space chars.

 

evanbo
Level 1

Re: Web Personalization segment URL match cannot match when there is space or %20

Thanks! Any reason it cannot match '%'? Is it replaced by other characters? Instead of changing UTMs, any other ways to do it?