refactor: Remove any appcues events (#8597)

This commit is contained in:
Mutasem Aldmour
2024-02-09 15:15:59 +01:00
committed by GitHub
parent cd151f1ba9
commit 64b10d7f5c
4 changed files with 3 additions and 33 deletions

View File

@@ -99,7 +99,7 @@ export class Telemetry {
track(
event: string,
properties?: ITelemetryTrackProperties,
options: { withPostHog?: boolean; withAppCues?: boolean } = {},
options: { withPostHog?: boolean } = {},
) {
if (!this.rudderStack) return;
@@ -113,10 +113,6 @@ export class Telemetry {
if (options.withPostHog) {
usePostHog().capture(event, updatedProperties);
}
if (options.withAppCues && window.Appcues) {
window.Appcues.track(event, updatedProperties);
}
}
page(route: Route) {