From bdff963eb2ac053e3cd6c6165fe00a24f00366f2 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Date: Thu, 1 Aug 2024 18:15:59 +0530 Subject: [PATCH] fix: added the missing property mappings for the firebase plugin --- .../plugins/plugin-firebase/src/methods/parameterMapping.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/plugins/plugin-firebase/src/methods/parameterMapping.ts b/packages/plugins/plugin-firebase/src/methods/parameterMapping.ts index 503dd790..c8dd47a0 100644 --- a/packages/plugins/plugin-firebase/src/methods/parameterMapping.ts +++ b/packages/plugins/plugin-firebase/src/methods/parameterMapping.ts @@ -27,6 +27,12 @@ export const mapEventProps: { [key: string]: string } = { productId: 'item_id', category: 'item_category', query: 'search_term', + order_id: 'transaction_id', + quantity: 'quantity', + shipping: 'shipping', + tax: 'tax', + revenue: 'revenue', + currency: 'currency', }; export const transformMap: { [key: string]: (value: unknown) => unknown } = {