Visit Statistics

Viewing Visit Statistics

In the <Statistics | Visit Statistics> menu, you can view visitors for each document.

ManualWorks saves visit statistics in real time, so you can view them immediately.

Set the following conditions, and then click the <View> button.

Visit Statistics Results

Basic Information

Shows the total number of visits and the total number of searches.

Visits by Day and Visits by Hour

Shows the number of visits by day and by hour. In the visits by day, 1select a specific day to show only the data for that day.

Visits by Document

If you do not select a document, the number of visits appears for each document. If you select a document, the number of visits appears for each chapter.

Chapters whose “ID” starts with # have the following meanings.

Search Keywords

Shows the same search history as Search Statistics.

Downloading as Excel

To view individual visit history data, click the <Download as Excel> button. The file provides the following items.

Visit history items in Excel

Item

Description

Document

Document title

Chapter

Chapter title. For a short document, it is the same as the document title.

  • #pdf: PDF download

  • #epub: EPUB download

  • #html: HTML download

  • #word: MS Word download

  • #q(SEARCH_TERM): Search

User

ID of the logged-in user. Empty if the user is not logged in.

UUID

Visits with the same UUID are from the same user.

REFERRER

HTTP REFERRER

User Agent

Used to filter search bots by HTTP User Agent.

Time

Visit time

Disabling Visit Logging

If you do not log visits, you improve performance and save database space. Enter the following command in the Console.

set-preference -name DISABLE_VISITOR -value true

Moving Visit History Data to Files

To improve database performance, ManualWorks saves visit history data in files. Because the current day's data must be reflected in real time, it is still saved in the database as before, and then the scheduler moves it to files.

This improves the overall performance of the Statistics menu.

A user with the “Administrator” permission migrates existing data as follows.

  1. Go to the <Statistics | Visit Statistics> menu.

  2. Click the <1Data Conversion> link.

  1. Click the 2 button for each year that needs migration to convert the data year by year.

If you use Apache Derby, go to the <Admin | Servers | Derby> menu and click the button for the R_VISIT table to reduce data space. If you use another database, use the features that the database provides to save data space.

Note the following.

The data is saved in the visit directory under DB_DIR.

Managing Visit Statistics Files

A user with the “Administrator” permission clicks the “Visit File Manager” link on the visit statistics screen to view the size of the visit history moved to files by year, month, and day.

If you click the “Delete” link and select a date, all visit history files up to and including that date are deleted. You cannot recover deleted files.

Notification of Visit History Not Moved to Files

If visit history older than 30 days remains in the database, ManualWorks sends a notification to administrators when the server starts. When you receive the notification, run the data conversion in the steps above. You can move the data while ManualWorks is in use.

Supported starting with ManualWorks 6.0.25.