mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix: Stop telemetry events to Posthog (#16788)
This commit is contained in:
@@ -195,11 +195,7 @@ export class Telemetry {
|
||||
});
|
||||
}
|
||||
|
||||
track(
|
||||
eventName: string,
|
||||
properties: ITelemetryTrackProperties = {},
|
||||
{ withPostHog } = { withPostHog: false }, // whether to additionally track with PostHog
|
||||
) {
|
||||
track(eventName: string, properties: ITelemetryTrackProperties = {}) {
|
||||
if (!this.rudderStack) {
|
||||
return;
|
||||
}
|
||||
@@ -219,10 +215,6 @@ export class Telemetry {
|
||||
context: {},
|
||||
};
|
||||
|
||||
if (withPostHog) {
|
||||
this.postHog?.track(payload);
|
||||
}
|
||||
|
||||
return this.rudderStack.track({
|
||||
...payload,
|
||||
// provide a fake IP address to instruct RudderStack to not use the user's IP address
|
||||
|
||||
Reference in New Issue
Block a user