firebase - Android event tracking in Analytics Audiences -


i have kind of tricky question without answer (i went through documentation did not find looking for) :

i tracking 2 specific events in app, 1 start of gps tracking, other 1 stop event. in firebase analytics, able select events in order create audience.

the audience want when user triggers start event of gps tracking process, not go through whole process , not trigger stopevent.

so when create audience have select both startand stop event, thing have no value assigned events. moment, test case told audience track if start > 0 , stop <= 0.

i suppose not going work expected. how should track event in android app, , how should retrieve in audience creation ? default, start event value number of times event triggered ?

thanks in advance,

your question not mention sdk using (android, ios, etc. please make question more precise) - assume it's android.

when logging event, can set parameters. parameter made of key , value. if want value assigned event, must use predefined key : firebaseanalytics.param.value. in case, value accumulated automatically each event type.

the following snippet work start event, stop work same way of course :

private void logstartevent() {     bundle bundle = new bundle();     bundle.putint(firebaseanalytics.param.value, 1);     firebaseanalytics.logevent("start", bundle); } 

then should able create audience start > 0 , stop <= 0

hope helps.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -