turnermm / quickstats

Web statistics plugin for Dokuwiki; saves data in php-based formats.
http://www.dokuwiki.org/plugin:quickstats
8 stars 7 forks source link

Feature suggestions #3

Open zioth opened 12 years ago

zioth commented 12 years ago

For the page syntax (as opposed to the admin query):

  1. The ability to request multiple months at once (with merged results) or even to request all data.
  2. Listing available months as links. Clicking on the links would show the data.
  3. Add the displayed month to the output. There's no way to know what month you're looking at.

For the admin query:

  1. The query feature in the admin only requests very precise bits of data. Since this plugin is most interesting to admins, it would be nice if the admin UI let you get general statistics for any month, selected from a list of available months.

General:

  1. Config option (or better, a basic syntax option) to eliminate requests from certain browsers. The majority of traffic to my site is from bots, and I'd like to see what actual humans are looking at.
turnermm commented 12 years ago

No. 1: As far as I understand what you are asking, this is addressed in the latest release.

Nos. 2-3: It's a simple matter to create a page with a header that gives month and year. Then in the admin panel, you should find a listing of all quickstats pages in a menu box with clickable menu items.

As for the admin panel: General stats for any month can be achieved through individual pages and accessed as suggested in Nos. 2-3 above.

The config option for browsers and bots is a possibility. When I get a bit of time I'll look at it.

zioth commented 12 years ago
  1. I don't see how to do this. To clarify, I'd like, for example, to see the top page hits for all of 2011 and 2012, in a single table.
  2. So the admin panel references quickstats pages? That wasn't clear in the documentation. For this one and the admin query request, you're right that it's possible with the current code, but it's not convenient. If I want to see May, June and July, I have to create three pages with three quickstats requests. Each month, I have to create a new quickstats page, or I won't see the new data. It would be nice just to pick a month from a list, like most web hosting control panels let you do.

Another nice feature would be to request the current month, or all of the current year. That way, you don't have to edit your pages every month.

turnermm commented 12 years ago
  1. This is not currently possible using the syntax plugin, which gets only one year at a time.

You can get your "top" numbers by setting the depth parameter. See the plugin page.

  1. With the admin panel you can choose one or more months. But the results are not permanent and must be fetched each time you need them.

You can get all of the current year by selecting all of the months.

You don't have to repeatedly edit your pages if you follow the instructions for using NOCACHE; then your results are automatically kept upt-to-date. And if you set aside a directory for your quickstats pages, you can create a Dokuwiki template which automates the quickstats page creation.

zioth commented 12 years ago

Maybe I didn't explain what I meant very well.

  1. Even if getting multiple years is difficult, it would be nice to be able to get multiple months, or a whole year. I don't just want to see stats for April of 2012. I want to see all of 2012 at once combined into one output set (not separated by month).

Admin 1. Ok. I understand. It would be nice to get multipe months at the same time though.

Repeatedly editting pages: What I mean is, I create a page which displays July 2012. If I later want to see August 2012, I have to edit the page. It would be nice if there was syntax to say "give me stats for the current month." That way, it would show July stats in July, and August stats in August. This would be better than using a Dokuwiki template, because you wouldn't even have to go to a new page.

On that topic, it could be useful to have a sample of how to do what you're describing with dokuwiki templates in the documentation, since that's probably a common thing for people to want to do.

turnermm commented 12 years ago

On 8/1/2012 4:50 PM, zioth wrote:

Maybe I didn't explain what I meant very well.

  1. Even if getting multiple years is difficult, it would be nice to be able to get multiple months, or a whole year. I don't just want to see stats for April of 2012. I want to see all of 2012 at once combined into one output set (not separated by month).

Admin 1. Ok. I understand. It would be nice to get multipe months at the same time though.

You can do this in the admin panel, where you can select multiple months by holding down the ctrl key (Windows/linux) or the cmd key (mac).

Repeatedly editting pages: What I mean is, I create a page which displays July 2012. If I later want to see August 2012, I have to edit the page. It would be nice if there was syntax to say "give me stats for the current month." That way, it would show July stats in July, and August stats in August.

That's a possibility to think about for the future.

On that topic, it could be useful to have a sample of how to do what you're describing with dokuwiki templates in the documentation, since that's probably a common thing for people to want to do.

I have just posted an example template, which in fact is the one I use myself. See: https://www.dokuwiki.org/plugin:quickstats?&#automating_syntax_plugin_with_dokuwiki_templates