PostHog / PostHog/posthog-android
Support `disableGeoip` config
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 90
- Forks
- 49
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 61
Description
Description
See https://posthog.com/docs/cdp/geoip-enrichment#how-do-i-skip-events-without-applying-geoip-enrichment
The same applies to Mobile if you don't want the server to infer the user's IP addresses.
If disableGeoip is enabled, set$geoip_disable: true to the props.
Another option is to disable via project config https://us.posthog.com/project/$projectId/settings/project#datacapture
Or
https://us.posthog.com/project/$projectId/pipeline/transformations
GeoIP
- iOS (https://github.com/PostHog/posthog-ios/issues/153)
- Android (this issue)
- Flutter (https://github.com/PostHog/posthog-flutter/issues/424)
- RN
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no Android files or tests. Start with the linked GeoIP documentation and related iOS and Flutter issues, then locate the Android SDK configuration path. Done means supporting disableGeoip so enabled events include $geoip_disable: true without changing other behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100