Skip to content

Commit

Permalink
feat: Add product brand to e-commerce event products (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-mamaya authored Jun 25, 2024
1 parent 8872f14 commit fc16b1d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
}
}

Expand Down

0 comments on commit fc16b1d

Please sign in to comment.