I want to log all web page clicked by user using firebase analytics. I want to ask how I make it nested event clicked. As example, I have 2 user role like as admin
and user
. I want to log all web page that clicked by that user.
I want, in the events dashboard, when I click event name
like admin
, I can see all visited page by user admin
. Right now, I must click parameter name
or parameter value
to see it.
Can I set so I can see directly card, like visited page
card before event location
or event demographics
card after I choose event name
in events
menu in console firebase
?
Here's the code I used
var firebaseConfig = {
apiKey: "xxxx",
authDomain: "xxxx",
projectId: "xxxx",
storageBucket: "xxxx",
messagingSenderId: "xxxxx",
appId: "xxxx",
measurementId: "xxxx"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics().logEvent('admin',{ name: 'homepage'});
Any clue would help.
Thanks
question from:
https://stackoverflow.com/questions/65879065/see-nested-events-name-in-events-menu-console-firebase-web 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…