firebase / firebase/firebase-cpp-sdk

[FR] Allow to send ecommerce events passing Array<Item> parameters.

Open
#1,204 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.