Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
324 views
in Technique[技术] by (71.8m points)

javascript - Firebase for web-distinguish between visitors of different documents of a website

I have already used Firebase for my android apps in order to get some statistics and track events. Now for the first time I want to use Firebase for my website to get some simple statistics of visits and clicks. While setting up my project, Firebase generated some code to be pasted after <body> tag.

since I have multiple HTML documents in different URLs, I have to paste those codes in all my documents. Will Firebase distinguish between the visitors of each page or they will be all summed up together? I couldn't find the answer in their documentation.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I'm not sure I understand completely but if you are talking strictly about the analytics code then it will just send all of that data into the analytics account which you will then be able to filter by url and see the visitor data for a given page.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...