Read the Latest Articles:

ZdStatistics Version 2 is a wordpress plugin allowing you to track your visitors. This is not a simple statistics plugin, it’s very flexible and dynamic. This means you can update your filters by yourself and therefore by as realistic as possible.

Note this page is still under revision, you can see the release post here and the screenshots here

Here is a lsit of functions :

  • Display a summary of visits (week, month, trimester, semester and year)
  • Display Pageviews and visitors with daily precision
  • Referring pages
  • Used keywords
  • Localization of your visitors
  • Browser / OS
  • Outgoing Links

The statistics are collected and instantly processed, or not, as you can decide this using an option. You can also separate feeds from real pageviews, exclude some IPs from being collected (@home, @work, @school, etc…) and choose to collect robots pageviews or not.

Localization of your visitors is made using GeoLiteCity from MaxMind, you can download the database here.

One of the best point of the system is its flexibility, indeed, filters and rules are using options and therefore you can update them anytime you want and then update your database. You choose what’s filtered.

This new version now includes a better spam detection using spamhaus.org servers.

This plugin is under GPL Licence

Here is a video of the plugin:

You can download it on Wordpress

Setup

Setup is very simple, just unzip the archive in your wp-content/plugins folder. Download the GeoLiteCity.dat specified above and place it in the geoip folder (in fact, I’m not sure if it’s redistruable, so you’ll have to download it yourself).
You can now activate the plugin and change the options.

Options

Go to the Statistics tab, then Options.

This is where you will specify IP Filters.

Then you can check boxes you need, everything is self explanatory. My recommendation though is to activate Automatic analysis of the data, except if you have a very huge list of filters.

And finally Filtered IP.

Do you like my work ? Why not donate ?


F.A.Q

  1. After doing an update, Geolocalization is not working
    Yes, this is due to wordpress automatic upgrade which deletes the plugin folder. In order to avoid this, do a manual upgrade, or save the file before your update, or finally, upload it again after the upgrade.
    Of course, you are not forced to use this function and if no file is present, the function will only be disabled

  1. ChrisM (Reply) on Tuesday 14, 2008

    Three quick queries, apologies if you’ve covered them elsewhere already…

    1) Are unique visits recorded as a separate stat?
    2) Is it possible to pull the data from this plugin and display it publicly (that is without being logged into the blog, is it possible to display a running total of unique visitors within a text/execPHP type widget?)
    3) If yes to both above, is it possible to set the total uniques from before the plugin was installed, rather than starting from 0?

    Thanks

  2. Anthony (Reply) on Tuesday 14, 2008

    ChrisM, No Unique visitors are not recorded, they are calculated when you display the carts.

    2) Yes it will be possible in next release, prior releases had a widget, but as I re-coded everthing, the widget was not my priority, it will come back soon.

    3) well no you can’t set the number of visitors prior to the first install of the plugin.

  3. Raju (Reply) on Tuesday 14, 2008

    trying out the plugin now. To be frank I have been using StatPress for a while now, but the features of ZdStatistics looks good, giving it a try!

  4. amy (Reply) on Tuesday 14, 2008

    Everytime I try an update the options it takes me here…
    mysite wp-admin/admin.php?page=ZdStatsV2_Options

    goes to my site and says

    What you were looking for cannot be found.
    Try again.

  5. jorge (Reply) on Tuesday 14, 2008

    je viens de découvrir que la nouvelle version du Zdstastiics est en conflit avec d’autres plugins que utilisent la librairie jquery …:-(

  6. Anthony (Reply) on Tuesday 14, 2008

    Jorge, quel genre de conflit ? Effectivement, pour l’analyse des liens sortants j’inclue le jquery fournis par wordpress, j’ai un peu de mal a voir ou pourrait être le conflit. As-tu le nom du / des plugins en conflit ?

  7. Anthony (Reply) on Tuesday 14, 2008

    amy, this is supposed to be the correct page, do you use specific plugins for your admin panel ?

  8. jorge (Reply) on Tuesday 14, 2008

    bonjour il s’agit du plugin “Simple JQuery Lightbox ” que ne fonctionne plus de problema aussi avec le script jquery.validate pour la validation de formulaires j’ai remplace le plugin pour l’effet lightbox pour un autre jQuery Lightbox For Native Galleries cela semble marcher de nouveau mais sous IE les pages se chargent avec des erreurs á présent

  9. amy (Reply) on Tuesday 14, 2008

    Not that I am aware of. I’ll tinker around with it see if I get it figured out. I wasn’t sure if it was a bug or something thanks for your prompt reply and for the great plugin! :)

  10. Richard (Reply) on Tuesday 14, 2008

    Tony, I am still suffering the performance downgrade due to Zdstat. When I deactivate Zdstat, the webpage becomes much faster. So I have to deactivate this. Do you have similar feedback? Richard

  11. amy (Reply) on Tuesday 14, 2008

    Installed the plugin on another one of my and still keep getting this “What you were looking for cannot be found.
    Try again.” it goes to my site and displays that message everytime I hit update options. =/

  12. Anthony (Reply) on Tuesday 14, 2008

    @Richard, this is very strange, could you use the debug on button in the general overview and send me the result ?

    @amy, this is very strange as the page is really supposed to be in wp-admin, did you change the administrative folder ?

  13. [...] das Plugin erst ein paar Stunden hier laufen, aber es gefällt mir schon sehr gut Download bei http://www.zen-dreams.com/en/zdstats/ wie m.o.m. es schon unten in seinem Kommentar geschrieben [...]

  14. [...] depuis cet été, j’ai installé le plugin de statistiques de Wordpress qui me permet de voir la fréquentation du blog. Même s’il est encore trop tôt pour faire [...]

  15. [...] Hintergrund läuft nun hier und auf dem geoblog.ch neu das Plugin ZdStatistics, das wunderbare Statistiken über die Besucher liefert. Ein tolles Statistikplugin, das ich [...]

  16. christian (Reply) on Tuesday 14, 2008

    Nice Statz. Would it be possible to add the usernames somewhere if they allready have a cookie from comments form?

  17. Anthony (Reply) on Tuesday 14, 2008

    Christian, I prefer not to add this as it will make the database heavier and it is already quite heavy on the long term. I will look into the possibility to do so, but i’d rather not promise that.

  18. christian (Reply) on Tuesday 14, 2008

    @anthony
    Thanks for the feedback. It’s just because i got used to this with Semmelstatz and i even built a Usercloud Plugin to see who was on the site the last 24 hours. Very nice to observe your daily readers. :-)

  19. Alariel (Reply) on Tuesday 14, 2008

    Thumbs up for this one ;) – as far as i can see all works fine.

    First thing i did was translating the language files to german. Just let me know if you are interested ;)

  20. Anthony (Reply) on Tuesday 14, 2008

    Alariel, i would love to include all possible translations so you can send it to me at anthony at this domain

    Thanks a lot for your support

  21. behzad (Reply) on Tuesday 14, 2008

    I am using your great zdstats plugin and it was working fine. but as i have updated to the latest wordpress 2.7 version my rss feedburner doesnt work and is not validated. could you help me.

    • Anthony (Reply) on Tuesday 14, 2008

      behzad, there is no reason for the plugin to break your feed as there is nothing displayed by Zdstatistics inside the pages. Did you deactivate the plugin to check if the problem persists

  22. behzad (Reply) on Tuesday 14, 2008

    Yes. when I activate the plugin and check my rss feed with rss validator it tells me that it is not validated. but as I deactivate only the zdstats plugin, the validation is done(rss is validated then). I am using the last version of the plugin (2.01)

  23. behzad (Reply) on Tuesday 14, 2008

    I am using this site (http://feedvalidator.org/) for validation
    and this is my rss feed (http://behzadbayat.ir/wordpress/feed/)

    • Anthony (Reply) on Tuesday 14, 2008

      Ok, I’ll have a look it’s probably a minor glitch in the php file.

    • Anthony (Reply) on Tuesday 14, 2008

      behzad, I had a look at your feed and everything looks ok, it does redirect me to your feeburner feed. As for the source file, there is no invalid line inserted and I’ve never seen a problem with the plugin with rss feeds.

  24. behzad (Reply) on Tuesday 14, 2008

    I dont know why it happens but I know that this happend after I updated to the last release of wordpress 2.7.
    my feed is being redirected to feedburner but the problem is that it does not update. I dont know, maybe there is conflict with this new wordpress and zdstats plugin. because as soon as I disable the zdstats plugin, my feedburner is updated and all the new posts are shown in it. seems to be a conflict with wordpress 2.7 and zdstats. because with the older versions (also up to 2.7 beta 2) i didnt encounter a problem.

  25. behzad (Reply) on Tuesday 14, 2008

    I just disabled the zdstats plugin, made a ping from feedburner, and my feedburner is now updated.

  26. eric (Reply) on Tuesday 14, 2008

    Bonsoir,

    J’ai profité des faites pour passer à worpress 2.7. J’ai également mis à jour les plugins dont ZDSTATS.

    Comme d’autres, l’affichage des pages est trés ralenti avec le plugin activé. Lorsqu’il est désactivé cela redevient correct.

    Je n’utilise pas les caches pour des raisons techniques. Le site est une boutique de niche qui fonctionne avec eBay, amazon … Au chargement d’un post, les produits en ventes sont sélectionnés suivant différents critères, mis en forme et affichés. Je n’utilise donc aucun plugin de cache pour ne pas afficher de produit dont la vente serait terminée.

    Est ce que le plugin ZDSTATS n’attendrait pas que la page soit totalement prête pour l’afficher. Le temps de chargement semble en effet identique. La différence tient en ce qu’avec ZDSTATS activé, la page s’affiche d’un seul coup, aprés un temps d’attente. Lorsqu’il est désactivé on peut voir la page se construire progressivement du haut vers le bas (chargement des images …). Le temps d’affichage de la page est donc identique, mais sans ZDSTATS, les premiers post s’affichent plus rapidement, ce qui empêche les effets de “blancs”.

    Je veux bien participer à la source de ce soucis. J’utilise XITI et analytics, mais je trouve ZDSTATS trés utile pour le travail en temps réel.

    Cordialement,

    Eric

  27. eric (Reply) on Tuesday 14, 2008

    Merci de corriger faites (cela fatigue, les fêtes.

    Et “je veux bien PARTICIPER à la recherche de la source du soucis”.

    Cordialement,

    Eric

  28. [...] plugin developed by Zen-Dreams) in order to blog in French and English. It is also using ZdStatistics in order to track visitors, visits, site usage, [...]

  29. Linda Thomas (Reply) on Tuesday 14, 2008

    One solution to the geoip file being deleted with automatic upgrades would be to put it in a different directory and have a config option in the plugin to point to it. Perhaps something like /wp-content/geoip/GetLiteCity.dat. That way you wouldn’t have to worry about refetching or manual upgrades.

    • Anthony (Reply) on Tuesday 14, 2008

      @Linda,

      Just to let you know that this option is available in last version of the plugin which has been available for quite a few monthes now…

  30. Andreas (Reply) on Tuesday 14, 2008

    Hello Anthony!

    I have a problem with your plugin: it seems as if no data is recorded anymore. All I get is “Nothing found for this period”.
    I updated autmatically from 1.1.4, and the plugin stopped working.
    I deleted the plugin, deleted the files from the server, deleted the table “wp_zdstats” in MySQL, deleted some zdstats-part in “wp_options”. Then I reinstalled and still all I get is the message “Nothing found for this period”.
    I run WP 2.7.1 (German Translation by wordpress-deutschland.org) and safe_mode is OFF. I changed the GeoLiteCity.dat-path to plugins/geolitecity/GeoLiteCity.dat.
    Do you have any ideas what might have gone wrong?
    Thanks,

    Andreas

    • Anthony (Reply) on Tuesday 14, 2008

      Hi, I do have to take a look as feeds are also appearing on my installation, I think something has changed with WP2.7.1.
      Btw, did you change your theme, as statistics collection is done in the wp-footer() routine.
      Ho, and make sure to check that the database structure looks full as it may be a problem with that.

  31. Andreas (Reply) on Tuesday 14, 2008

    Hey Anthony!

    I did change the theme, but your v1.1.4 worked fine with it.
    What do you mean with “full database structure”?
    Thanks,

    Andreas

  32. Anthony (Reply) on Tuesday 14, 2008

    Andreas,

    I mean, do you have the table structure correctly setup, is the table empty, etc… Could you send me the debug report in the admin page ?

  33. Ad Lagendijk (Reply) on Tuesday 14, 2008

    I think I am doing something wromg.
    Wordpress 2.6.1.
    Only admins can see the results although I grant other users rights through the options.
    A number of options do not work. Clicking them brings up a login screen that if supplied with the right information does not produce any sign of the stats zdplugin.
    Cheers

    • Anthony (Reply) on Tuesday 14, 2008

      @Ad, yes, there is no option to make the stats available for other than admins… Ths options you refer to is to record statistics for users below the selected level.
      Also, if there is no stat recorded, you should try to deactivate the spam lookup by putting nothing in the spam server box in the bottom of the options.

  34. Zankior (Reply) on Tuesday 14, 2008

    Bonjour, j’ai installer ZDstat mais quand je l’active j’ai le message suivant en bas de mon blog et de toutes mes pages sur wordpress :Warning: Unknown(): open(/mnt/166/sda/e/f/starlight.extinction/sessions/sess_121cdd6a0ca010ccf337dff04a47d62c, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

    Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/mnt/166/sda/e/f/starlight.extinction/sessions) in Unknown on line 0

    • Anthony (Reply) on Tuesday 14, 2008

      @Zankior, il y a deja eu quelques commentaires traitant du probleme chez free.

  35. Zankior (Reply) on Tuesday 14, 2008

    Désolé mais je ne trouve dans les commentaires aucuns moyen de régler mon problème.
    Encore désolé, Zankior

    • Anthony (Reply) on Tuesday 14, 2008

      Exact Zankior, il est effectivement sur la page de la version 1 du plugin, voici
      le commentaire en question. En gros pour faire simple, il faut que tu cree le dossier session a la racine de ton site.

  36. Neurose (Reply) on Tuesday 14, 2008

    Hi :)

    ZDSTats looks great, but on my Blog it doesnt count all visitors? In the last 2 days I got ca. 7visitors, but the zdstats show only 1.

    Is this a bug or a problem in my config?

  37. Nic (Reply) on Tuesday 14, 2008

    Hello,

    J’utilise ce très bon plugin depuis maintenant bientôt 1 an et depuis le 6 nov, il ne me retourne plus de résultat pour la daily et l’overview (le fameux “nothing found…”).

    Est-ce que quelqu’un aurait une idée? J’utilise Wordpress 2.7.1

    Merci

  38. Thomas (Reply) on Tuesday 14, 2008

    Hi,

    I got a strange issue. I got he table zd_stats_entry with 10 fields but nothing is displayed in WordPress. Did I miss anything.

    Thanks for your help

    Thomas

  39. Thomas (Reply) on Tuesday 14, 2008

    And: on the Technologies page I get a fedwe warning. All are in zd.wp.zdstatistics.class.php

    arsort() expects parameter 1 to be array, null given in
    invalid argument supplied for foreach() in
    arsort() expects parameter 1 to be array, null given in
    Invalid argument supplied for foreach() in
    Invalid argument supplied for foreach() in

    • Anthony (Reply) on Tuesday 14, 2008

      It seems the plugin has not been installed properly, could you try to remove the table and re activate the plugin ? Apparently no options have been set.

  40. Nic (Reply) on Tuesday 14, 2008

    hello, anyone has any idea why all of the sudden I don’t get any stats anymore? I get the “nothing found for this period” thing.

    thanks in advance