You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I`m using firebase analytics in my Web / Native iOs / Native Android App. Now I would like to set the same screen name for all platforms, to have it in the same row in Analytics reports.
How would you do this? Does this code make sense to you? It`s only the path. The host and protocol could differ on the native apps.
let screenName = window.location.href.replace(window.location.origin, "")
FirebaseAnalytics.setScreenName({
screenName: screenName;
})
Should I add a prefix, to make sure that it is the path based screen name, and not the page location?
let screenName = "Path: " + window.location.href.replace(window.location.origin, "")
What do you think?
The text was updated successfully, but these errors were encountered:
Hi,
I`m using firebase analytics in my Web / Native iOs / Native Android App. Now I would like to set the same screen name for all platforms, to have it in the same row in Analytics reports.
How would you do this? Does this code make sense to you? It`s only the path. The host and protocol could differ on the native apps.
Should I add a prefix, to make sure that it is the path based screen name, and not the page location?
What do you think?
The text was updated successfully, but these errors were encountered: