fix(telemetry): enable GeoIP resolution for PostHog events
posthog-node SDK defaults disableGeoip to true, preventing country/city data from being populated despite $ip being sent. Explicitly set disableGeoip: false to enable geographic analytics.
This commit is contained in:
@@ -77,6 +77,7 @@ function createPostHogClient(
|
|||||||
const configuredClient = new PostHog(getPostHogApiKey(), {
|
const configuredClient = new PostHog(getPostHogApiKey(), {
|
||||||
...options,
|
...options,
|
||||||
host: getPostHogHost(),
|
host: getPostHogHost(),
|
||||||
|
disableGeoip: false,
|
||||||
})
|
})
|
||||||
const sharedProperties = getSharedProperties(source)
|
const sharedProperties = getSharedProperties(source)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user