Drupal Core Statistics in Blocks and by Longer Durations

By

This article was published in the print magazine Drupal Watchdog, Volume 6 Issue 2, Fall 2016, on page 13, by Linux New Media. The magazine was distributed at Drupalcon Dublin, 2016-09-26.

While the Statistics module built into Drupal can track and display useful analytics data about visitors to a website, it has some limitations that have been addressed by contributed modules. For instance, by default the data is only available on four report pages, but not in blocks. Also, aggregate node accounts are only for the past three days. The Statistics Blocks module https://www.drupal.org/project/statistics_blocks presents all of that data in blocks, thereby providing more flexibility and allowing for a dashboard page displaying all of the results at once. The Statistics Counter module https://www.drupal.org/project/statistics_counter supplements the three-day totals with those for the last week, month, and year. It is integrated with the Views module, thereby allowing a site builder to customize the data filtering and ordering.

Copyright © 2016 Michael J. Ross. All rights reserved.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <address> <area> <blockquote> <br> <cite> <code> <dd> <div> <dl> <dt> <em> <fieldset> <h1> <h2> <h3> <h4> <h5> <h6> <hr> <img> <input> <li> <map> <ol> <p> <pre> <span> <strong> <sup> <u> <ul>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
11 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.