firebase / firebase/firebase-cpp-sdk
[FR] Allow to send ecommerce events passing Array<Item> parameters.
Open
api: analytics
type: feature request
- Dominant language
- C++
- Stars
- 326
- Forks
- 137
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 5
Description
### Feature proposal
* Firebase Component: Analytics
Currently LogEvent functions support only parameters of types integer, float, string and boolean. Though several recommended GA4 events such as "begin_checkout", "purchase", "add_to_cart" require "items" parameter to be passed as Array even for one single Item, thus making impossible to send these types of ecommerce events via C++ SDK.
The possible solution would be to allow LogEvent function to accept Variant values holding vector and map.
Contributor guide
Assessment
This issue has not been assessed yet.