How does Snap Store detect "Territories"?

The conversation first started on this forum https://community.e.foundation/t/e-os-easy-installer-how-to-help-it-support-multiple-devices/15288/8

The Snap Store has a way to keep a count of how many times a snap is installed based on the territory. While that information can be helpful, it also raises a bit of concern, especially about the way that “tracking” is done. Some information from the people working on the Store would be really helpful.

I found that page https://snapcraft.io/docs/snap-store-metrics however it does not contain the information I am looking for.

1 Like

probably like this …

:~$ wget -q -O- https://geoip.ubuntu.com/lookup
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Ip>XXXXXXXXXXXX</Ip>
<Status>OK</Status>
<CountryCode>DE</CountryCode>
<CountryCode3>DEU</CountryCode3>
<CountryName>Germany</CountryName>
<RegionCode>02</RegionCode>
<RegionName>Bayern</RegionName>
<City>Munich</City>
<ZipPostalCode>80539</ZipPostalCode>
<Latitude>48.1497</Latitude><Longitude>11.5850</Longitude>
<AreaCode>0</AreaCode><TimeZone>Europe/Berlin</TimeZone>
</Response>
$
1 Like