From fc16b1d0f7a670aaa6304a8c599266df635d5d7a Mon Sep 17 00:00:00 2001 From: v-mamaya <136605018+v-mamaya@users.noreply.github.com> Date: Tue, 25 Jun 2024 12:37:26 -0300 Subject: [PATCH] feat: Add product brand to e-commerce event products (#89) --- .../kotlin/com/mparticle/kits/GoogleAnalyticsFirebaseGA4Kit.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/com/mparticle/kits/GoogleAnalyticsFirebaseGA4Kit.kt b/src/main/kotlin/com/mparticle/kits/GoogleAnalyticsFirebaseGA4Kit.kt index 86b1cea..b0ea30e 100644 --- a/src/main/kotlin/com/mparticle/kits/GoogleAnalyticsFirebaseGA4Kit.kt +++ b/src/main/kotlin/com/mparticle/kits/GoogleAnalyticsFirebaseGA4Kit.kt @@ -499,6 +499,7 @@ class GoogleAnalyticsFirebaseGA4Kit : KitIntegration(), KitIntegration.EventList put(FirebaseAnalytics.Param.ITEM_NAME, product.name) put(FirebaseAnalytics.Param.PRICE, product.unitPrice) product.category?.let { put(FirebaseAnalytics.Param.ITEM_CATEGORY, it) } + product.brand?.let { put(FirebaseAnalytics.Param.ITEM_BRAND, it) } } }