Hey Kato,
Thanks for replying :)
The reason is to leverage tag management already configured in GTM.
Otherwise, sending full click-stream traffic to my API, and not specific cases, will require building a new tagging mechanism.
Besides, the data on Big query is available after 15-30 minutes. guaranteed time is 4.5 hours...
So, if it's working in real-time from web browsers, maybe this flow: App (click event) -> firebase -> GTM -> App function call -> send data to api from device, could work...!
Two other options are -
1) firebase RT database with servlets listening to each update
2) sdk to forward all events (as you've mentioned).
when an event is sent to firebase using the firebase SDK, how does it connects to GTM?
unfortunately, the whole data flow is obscure. I didn't find formal documentation.
There's a flow diagram
here, but it is missing the cloud containers/firebase RT DB and is not addressing the availability time.
Still searching for more clues :)