From 2369c629fc21705f32f2a4b6487260e3ab05569e Mon Sep 17 00:00:00 2001 From: Andrzej Date: Sun, 17 Nov 2019 06:48:48 +0100 Subject: [PATCH] fix(analytics): Use correct add_to_cart event name (#2882) --- packages/analytics/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/analytics/lib/index.js b/packages/analytics/lib/index.js index 6ab4ff5b27..7db8f1d8a5 100644 --- a/packages/analytics/lib/index.js +++ b/packages/analytics/lib/index.js @@ -223,7 +223,7 @@ class FirebaseAnalyticsModule extends FirebaseModule { validateCompound(object, 'value', 'currency', 'firebase.analytics().logAddToCart(*):'); return this.logEvent( - 'add_payment_info', + 'add_to_cart', validateStruct(object, structs.AddToCart, 'firebase.analytics().logAddToCart(*):'), ); }