Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segment "Country starts with United" doesn't match visits from "united states" #16307

Closed
mattab opened this issue Aug 17, 2020 · 4 comments
Closed
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@mattab
Copy link
Member

mattab commented Aug 17, 2020

Bug: creating a new segment "Country starts with United", doesn't match "United states".

Expected instead it would match visits from the US.

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Aug 17, 2020
@sgiehl
Copy link
Member

sgiehl commented Aug 17, 2020

I guess that might be a more generic problem for segments using setSqlFilterValue to transform the values.
If a value is provided that isn't included in the list it won't include anything useful I guess.
Might be better to disable any compare that does not match an exact value for those segments maybe.

Otherwise we might need to handle such stuff in a complete other way. E.g. we would need to go through the list of possible values and match them against the segment. The matching ones then would need to be transferred to their SQL value and combined into the sql query according the match type.

@tsteur tsteur added this to the Backlog (Help wanted) milestone Aug 17, 2020
@tsteur
Copy link
Member

tsteur commented Aug 17, 2020

We'll eventually add a possibility to only show certain segment comparisons for certain types of dimensions. Eg for boolean dimensions only equals and not equals may be offered etc. So depending what comparisons a segment supports different comparisons will be shown.

@KarthikRaja1388
Copy link

United States is not available in the suggestion at all, even though visitors are tracked from United states.

@tsteur
Copy link
Member

tsteur commented Aug 19, 2020

@KarthikRaja1388 what you describe is a duplicate of #15620

@tsteur tsteur closed this as completed Nov 23, 2020
@tsteur tsteur added duplicate For issues that already existed in our issue tracker and were reported previously. and removed Bug For errors / faults / flaws / inconsistencies etc. labels Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

4 participants