Statistics
เกี่ยวกับ
The Statistics module shows you how often a given page is viewed, who viewed it, the previous page the user visited (referrer URL), and when it was viewed. These statistics are useful in determining how users are visiting and navigating your site. For more information, see the online handbook entry for the Statistics module.
ใช้
- Managing logs
- To enable collection of statistics, the Enable access log checkbox on the Statistics settings page must be checked. The Discard access logs older than setting on the settings page specifies the length of time entries are kept in the log before they are deleted. This setting requires a correctly configured cron maintenance task to run.
- Viewing site usage
- The Statistics module can help you break down details about your users and how they are using the site. The module offers four reports:
- Recent hits displays information about the latest activity on your site, including the URL and title of the page that was accessed, the user name (if available) and the IP address of the viewer.
- Top referrers displays where visitors came from (referrer URL).
- Top pages displays a list of pages ordered by how often they were viewed.
- Top visitors shows you the most active visitors for your site and allows you to ban abusive visitors.
- Displaying popular content
- The module includes a Popular content block that displays the most viewed pages today and for all time, and the last content viewed. To use the block, enable Count content views on the statistics settings page, and then you can enable and configure the block on the blocks administration page.
- Page view counter
- The Statistics module includes a counter for each page that increases whenever the page is viewed. To use the counter, enable Count content views on the statistics settings page, and set the necessary permissions (View content hits) so that the counter is visible to the users.