Enrich your collected events with GeoIP data from MaxMind
- Install posthog-cli
- Install this plugin
posthog plugin install https://github.com/mariusandra/posthog-maxmind-plugin
- Sign up to maxmind
- Download the GeoLite2 City (or the paid GeoIP City) database
- Run posthog with the env
MAXMIND_GEOIP_DATABASE=/path/to/GeoLite2-City.mmdb
- Optional: Set up automatic updates as described here.