According Firebase Android SDK Release Notes with 9.8 update we have screen tracking support with android screens and activities... The documentation says that this event works like that:
mFirebaseAnalytics.setCurrentScreen(activity,class_name,class_override_name);
In my case, I don't need overrides class name and I send null value... But i'm waiting 48h and my firebase analytics console doesn't show info about this event, any ideas?
Thanks in advance!
Especially when you don't have a "digital analytics team" or a "marketing team" as a single app developer. The question is whether Firebase uses the AD_ID internally to track visitors or not, not whom to ask. Ok then. I did some research and and I found that Firebase is not using the AD_ID at all.
Automatically track screens If your app uses a distinct UIViewController or Activity for each screen, Analytics can automatically track every screen transition and generate a report of user engagement broken down by screen. If your app doesn't, you can still get these reports by manually logging screen_view events.
Screenview in Google Analytics represent content users are viewing within an app. The equivalent concept for a website is pageview . Measuring screen views allows you to see which content is being viewed most by your users, and how are they are navigating between different pieces of content.
Another very important thing that I've noticed only after two days of intensive struggling: the setCurrentScreen
method MUST be called on the UI thread.
I was only able to see that after looking for a light in the Firebase decompiled code:
@MainThread
@Keep
public final void setCurrentScreen(@NonNull Activity var1, @Size(min = 1L,max = 36L) @Nullable String var2, @Size(min = 1L,max = 36L) @Nullable String var3) {
//...
}
Whenever this method is called a event of type screen_view
is logged.
And keep in mind the Firebase size restrictions. The maximum size of a screen name is 36 characters long.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With