Segment filter not working correctly

Your software
My Mautic version is: 4.1.2
My PHP version is: 7.4

Your problem
My problem is:
I have setup the following filter for a dynamic segment:
Visited URL contains vietnam
Visited URL count is greater than or equal to 5

My logic says that anyone who has visited a URL with the word ‘vietnam’ in it more than 5 times should be added to this segment.

What is actually happening is that anyone who visited any URL more than 5 times is being added to the segment, regardless of it being ‘vietnam’ or not.

Why is this happening and how can I fix it so that it only adds those who visited a URL with ‘vietnam’ more than 5 times.

Thank you for any pointers.

Hi, this is not what the filter does.
This is what you set up:
Visited URL that contains ‘vietnam’ AND visited ANY page at least 5 times.

And I agree with you it should work as you expected, but this is not how it’s coded.

Thanks for your super quick response.
Do you know if there any way to achieve what I’d like to do?

Not in segments. You can use the sql conditions plugin, and have a campaign step that checks “5 visits for vietnam?” - if yes do this, if no, do that.
But it1s cumbersome.

Thank you, I will give it a look.