simpleanalytics / roadmap

File you bugs and feature requests here
23 stars 2 forks source link

Page url hierarchical stats #651

Open simpleanalyticsbot opened 2 years ago

simpleanalyticsbot commented 2 years ago

If I have the stats for the following pages /a/b/page1 /a/b/page2 /a/c/page3 I'd like to see the cumulative stats on /a/, /a/b/, /a/c/ and at each level discover the best stats. for instance under /a/b/ I can see that page3 has more views than page2. or under /a/ I can see that /a/c/ has more cumulative views than /a/b/

adriaandotcom commented 2 years ago

Could you share an example response of how this should work? @fundkis

fundkis commented 2 years ago

Now the pages tab is just a list /a/b/page1 #nb1 /a/b/page2 #nb2 /a/c/page3 #nb3 /page4 #nb4

You can keep it as a list and still have an hierarchical view.

For instance, you can allow us to toggle the list to: /a/ #nb1+nb2+nb3 /page4 #nb4

When I click on /a/ the list becomes: …/b/ #nb1+nb2 …/c/ #nb3

When I click on /a/b/, the list becomes: …/page1 #nb1 …/page2 #nb2

BTW, it would be better if we have a large view of the pages stats. The urls may be too long to read… Bests, Hicham