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
Aucun commentaire:
Enregistrer un commentaire