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

Improve location segmentation by region #7428

Open
sgiehl opened this issue Mar 13, 2015 · 2 comments
Open

Improve location segmentation by region #7428

sgiehl opened this issue Mar 13, 2015 · 2 comments
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@sgiehl
Copy link
Member

sgiehl commented Mar 13, 2015

When adding a region segment, the segment editor is currently suggesting the internal region code screenshot
(see https://github.com/piwik/piwik/blob/master/libs/MaxMindGeoIP/geoipregionvars.php).
Those are not really helpful.

It would be a big improvement if the available regions would be suggested instead.
As the internal region codes are ambiguous we would need to map the selection to a segment filtering by region and country.
So selecting "Bayern" as region would segment by (country=DE and region=02)

@tsteur
Copy link
Member

tsteur commented Mar 15, 2015

Just FYI: That be also useful for #4633 maybe. There I am doing this "manually": eg https://github.com/piwik/piwik/blob/2.11.2/plugins/UserCountry/API.php#L72-L73 and https://github.com/piwik/piwik/blob/2.11.2/plugins/UserCountry/API.php#L117-L118 . If we have a mapping for this we could use this as well there. Same for deviceDetection etc https://github.com/piwik/piwik/blob/2.11.2/plugins/DevicesDetection/API.php#L200-L201

@mattab mattab added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. labels Apr 8, 2015
@mattab mattab added this to the Mid term milestone Apr 8, 2015
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
@hpvd
Copy link

hpvd commented Jan 23, 2017

just put it into a complete picture of geographical segmentation #11261

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

4 participants