Hubs-Foundation / hubs-cloud

Resources for self hosted Hubs Cloud instances
Mozilla Public License 2.0
149 stars 89 forks source link

How to count the number of visits to each room created in one Hubs Cloud and on one domain using Google analytics #297

Open yukipioa opened 2 years ago

yukipioa commented 2 years ago

I have multiple rooms on one domain. I have set up Google analytics to count the number of visits for each room, but it only counts the number of visits for the entire domain.

I have set up the following I set the URL of the domain in the "Properties" of Google analytics and obtained the tracking ID. Set the tracking ID in the Hubs Cloud admin page. Set the URL of each room to "view" for the configured "properties".

When I check the "views" of each room in Google analytics, all the "views" are the same. Also, when I enter one room, the number of accesses is counted even if the "view" is set to a different room.

If anyone knows how to count the number of accesses per room, I would appreciate it if you could help me.