Skip to main content

Configure the Statistics module

April 29, 2010 by Steve

The Statistics module keeps your access logs and will display all sorts of different reports. I also want to have the "Popular content" block as part of the layout, which needs to know how many times each story was viewed.

Go to the Reports > Access Log settings page and set the Access log and Viewing Counter both to be enabled. I also told it to hang on to the access logs for two weeks, rather than three days. Save those changes.

The Popular Content block uses data from the Statistics module, but is itself configured from the Views module.

We don't want any other users to see the logs, so there are no permissions to grant.

@stevew99999

  • Binoculars. White piece of paper. Transit of Venus! 5 years 27 weeks ago
  • Just heard @the_nerdery is a Best Place to Work on MPR. We're hiring, check us out! 5 years 27 weeks ago
  • Ah, summer in the Midwest, with the gentle sound of hail pelting the window air conditioner. 5 years 29 weeks ago

Premium Drupal Themes by Adaptivethemes