Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download tar.gz
21.35 KB
MD5: 2ccf2566b865b8360b743d36dd05853a
SHA-1: ed38c05b4f3329964f6b87f3d6cf11210dbee4b5
SHA-256: ac78baed82fcd1eb27b64828fe8247ceaba0c16e81b869775923190b4bb86dbb
Download zip
25.67 KB
MD5: 951eb496d6b7c937713ed34652d949a3
SHA-1: 491fff12af9501cb50ac3e8b43d954e316448ebe
SHA-256: 920848d48be6dbd3dd16b9ae33191d9d06f3fd732655cd058ec87b4f8a9902ad
Release notes
This release addresses a major bug and adds several new features. Special thanks to mondrake for a great deal of work on this release.
Please direct any and all issues to the issue queue. See the roadmap for details about upcoming releases and features.
Bug Fixes
- Fixed "Call to undefined function drupal_get_path()" on cached page requests. #1839090: Call to undefined function drupal_get_path()
New Features
- Restrict when access log data is collected (e.g. by page, role, or cache status). #1879726: Should statistics be collected on every page?
- 'Recent hit' detail pages now include Better Statistics data. #1791068: Provide an enhanced 'Recent hit details' page
API Additions
This release introduces a number of API features that should prove helpful for developers implementing the Statistics API. For full details, check better_statistics.api.php.
- New hook: hook_better_statistics_prelog() to react before Better Statistics begins logging data.
- New function: better_statistics_request_is_loggable() to set/check whether the page request can/should be logged (especially useful with the above hook).
- New function: better_statistics_served_from_cache() to be used in concert with checking Drupal Bootstrap phase when implementing the Statistics API. This was introduced to help module developers deal with the bug fixed with this release.