react-native-firebase-analytics
react-native-firebase-analytics copied to clipboard
How can I fill value field?
This might be a duplicate of https://github.com/evollu/react-native-firebase-analytics/issues/18
I believe I am doing this right. I am trying to log all my redux actions like this:
function analytics (state = 0, action = {}) {
const { type, ...rest } = action
// ignore all the following events for analytics
switch (type) {
case types.__INIT__:
case types.REHYDRATE:
case types.router.PUSH:
case types.router.REFRESH:
return state
// by default, log everything possible
default:
Analytics.logEvent(type, {'action': JSON.stringify(rest)})
return true
}
}
But this is how they end up on firebase:
How can I fill the value
field?
I don't know how to do it. there should be some place where you can drill down each event right? Perhaps ask firebase team? I want to do this too!
@jsdario did u figure it out?
@sibelius, apparently firebase itself is forcing you to hire their Big Query peer service (since they are Google now, :sights:. I contacted them directly.
By the moment we are making advantage of event naming itself. Seems not to be a huge problem to have custom values on events. We do not know still which are Firebase plans with this feature, maybe they allow event values in the future.
@jsdario I'm a little confused. So with BigQuery, are you able to see the values passed to the events or is this not 'allowed' by Firebased anymore?
@annelorraineuy in theory it is possible, I was unfamiliar with Firebase at that moment