Track country URLs and shorturl

Website structure is as follows.
domain.tld/cat/ABC
domain.tld/us/cat/ABC
domain.tld/uk/cat/ABC
domain.tld/in/cat/ABC

All the above urls point to same page and are using hreflang and are geo targetting users. I.e. some data is different for that country .

The need is to track hits on any of country specific url as same for piwik.

  1. can piwik handle this natively.
  2. if not can we custom code it, any guidance on logic is needed.
  3. I also want short url (single) for set of such pages which can geo redirect and be tracked by piwik. Guidance on this with above is needed.

https://plugins.piwik.org/SiteUrlTrackingID#description
Above plugin seems useful for 1st point.
Wdyt guys?