From d77443de24db9ee733a27ac19bc03e4670c47a09 Mon Sep 17 00:00:00 2001 From: Gergely Fehervari Date: Mon, 6 Jan 2025 17:42:44 +0100 Subject: [PATCH] fix typo --- .../plugin-facebook-app-events/src/FacebookAppEventsPlugin.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugins/plugin-facebook-app-events/src/FacebookAppEventsPlugin.ts b/packages/plugins/plugin-facebook-app-events/src/FacebookAppEventsPlugin.ts index cddc2560b..592cc1928 100644 --- a/packages/plugins/plugin-facebook-app-events/src/FacebookAppEventsPlugin.ts +++ b/packages/plugins/plugin-facebook-app-events/src/FacebookAppEventsPlugin.ts @@ -27,7 +27,7 @@ const MAX_CHARACTERS_EVENT_NAME = 40; const mappedPropNames = generateMapTransform(mapEventProps, transformMap); interface FBPluginSettings extends Record { - trackScreenEvent?: boolean; + trackScreenEvents?: boolean; limitedDataUse?: boolean; appEvents?: { [key: string]: string }; } @@ -141,7 +141,7 @@ export class FacebookAppEventsPlugin extends DestinationPlugin { const fbSettings = settings.integrations[this.key]; if (isFBPluginSettings(fbSettings)) { - this.trackScreens = fbSettings.trackScreenEvent ?? false; + this.trackScreens = fbSettings.trackScreenEvents ?? false; this.limitedDataUse = fbSettings.limitedDataUse ?? false; this.appEvents = fbSettings.appEvents ?? {};