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 have prepared the data in the application but I'd like to know what is the best approach to track the navigation.
I have defined the setup method in the file app.component.ts: FirebaseAnalytics.initializeFirebase(env.fbConfigs)
I use the default method "setScreenName":
FirebaseAnalytics.setScreenName({
screenName: "A custom name of the page),
nameOverride: "nameOfTheClass"
});
I need to get more information for each screen_view such as "lang" and "ID".
So is it possible to add/pass some params for the event screen_view using a custom event call instead of the method "setScreenName"?
Something like this:
FirebaseAnalytics.logEvent({
name: "screen_view",
params: {
screenName: 'A custom name of the page)',
nameOverride: "nameOfTheClass"
pageId: 5,
pageLang: 'de',
}
});
Thanks for your help, Loïc
The text was updated successfully, but these errors were encountered:
loic-parent
changed the title
Question about the way to manage the event of navigation
Question about the screen_view
Mar 22, 2024
Hello,
I have prepared the data in the application but I'd like to know what is the best approach to track the navigation.
I have defined the setup method in the file app.component.ts:
FirebaseAnalytics.initializeFirebase(env.fbConfigs)
I use the default method "setScreenName":
I need to get more information for each screen_view such as "lang" and "ID".
So is it possible to add/pass some params for the event screen_view using a custom event call instead of the method "setScreenName"?
Something like this:
Thanks for your help,
Loïc
The text was updated successfully, but these errors were encountered: