firebase / firebase/firebase-cpp-sdk
[FR] Allow to send ecommerce events passing Array<Item> parameters.
- 主要言語
- C++
- スター
- 326
- フォーク
- 137
- 平均マージ
- 3日 9時間
- マージ済み PR(30日)
- 5
説明
### 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.
コントリビューションガイド
調査の方向性
まず Analytics LogEvent API とその Variant パラメーターの処理を追跡し、現在 integer、float、string、boolean の値がどのように受け付けられているかに注目します。LogEvent に関する既存の SDK テストまたは例があれば確認します。begin_checkout、purchase、add_to_cart などの ecommerce イベントで、Array データを含む items 値を渡せるようになれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp, firebase
- 領域
- analytics
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100