Firebase Analytics - Custom screen_view parameter

1,519 views
Skip to first unread message

Emil

unread,
Jul 31, 2019, 2:18:11 AM7/31/19
to Firebase Google Group
Hi,

Is it possible to add custom parameters (e.g. language) to screen_view event?
It seems that screen_view is recorded by Firebase in default.
Is there any methods to add parameters to screen_view?


I have tried to log a custom event using mFirebaseAnalytics.logEvent(evt, bundle),
but the above method cannot record the screen average time which is provided by screen_view.

Kato Richardson

unread,
Jul 31, 2019, 10:06:22 AM7/31/19
to Firebase Google Group
Hi Emil,

I believe you're looking for Analytics.setScreenName(screenName, screenClass: screenClass) as documented here?

☼, Kato

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/d0239b23-6978-454a-8645-449c08a0f01d%40googlegroups.com.


--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Emil

unread,
Aug 2, 2019, 4:27:24 AM8/2/19
to Firebase Google Group
Hi Kato,

I understand that Analytics.setScreenName() can achieve the screen tracking function, but that function does not allow us to attach our own parameters to the function call.
For example, I cannot add parameters like language(english, french) and connection method(cellular, WiFi)  to the event.

Emil


On Wednesday, 31 July 2019 22:06:22 UTC+8, Kato Richardson wrote:
Hi Emil,

I believe you're looking for Analytics.setScreenName(screenName, screenClass: screenClass) as documented here?

☼, Kato

On Tue, Jul 30, 2019 at 11:18 PM Emil <hohoho1...@gmail.com> wrote:
Hi,

Is it possible to add custom parameters (e.g. language) to screen_view event?
It seems that screen_view is recorded by Firebase in default.
Is there any methods to add parameters to screen_view?


I have tried to log a custom event using mFirebaseAnalytics.logEvent(evt, bundle),
but the above method cannot record the screen average time which is provided by screen_view.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fireba...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages