How to View Website Statistics in cPanel Using AWStats

This tutorial will teach you how to check on who is viewing your website using the program in cPanel called AWStats. This program updates every 24 hours, and can also be updated instantly by clicking on the "Update Now" link.

The report gives details about the amount of people coming to your site, along with other information that you will find useful. It includes things like: Countries, Visit duration, Connects to site from, Search key phrases, Search keywords, monthly, daily and hourly history, and other critical information to help you improve your web presence.

To access AWStats, login to cPanel. Go to the Logs Section. Click on the AWStats Icon. Click the view icon next to the domain you are interested in. You are now viewing the stats for that domain.

To help understand the AWStats page, scroll down this page further and you will find a complete listing of all the terms and gain a better understanding of what the AWStats are telling you.

This concludes this tutorial. You now know how to find and view AWStats.

Unique Visitor:
A unique visitor is a person or computer (host) that has made at least 1 hit on 1 page of your web site during the current period shown by the report. If this user makes several visits during this period, it is counted only once. Visitors are tracked by IP address, so if multiple users are accessing your site from the same IP (such as a home or office network), they will be counted as a single unique visitor.

The period shown by AWStats reports is by default the current month.
However if you use AWStats as a CGI you can click on the "year" link to have a report for all the year. In such a report, period is a full year, so Unique Visitors are number of hosts that have made at least 1 hit on 1 page of your web site during the year.


Visits:
Number of visits made by all visitors.
Think "session" here, say a unique IP accesses a page, and then requests three other pages within an hour. All of the "pages" are included in the visit, therefore you should expect multiple pages per visit and multiple visits per unique visitor (assuming that some of the unique IPs are logged with more than an hour between requests)


Pages:
The number of "pages" viewed by visitors. Pages are usually HTML, PHP or ASP files, not images or other files requested as a result of loading a "Page" (like js,css... files). Files listed in the NotPageList config parameter (and match an entry of OnlyFiles config parameter if used) are not counted as "Pages".


Hits:
Any files requested from the server (including files that are "Pages") except those that match the SkipFiles config parameter.


Bandwidth:
Total number of bytes for pages, images and files downloaded by web browsing.

Note 1: Of course, this number includes only traffic for web only (or mail only, or ftp only depending on value of LogType).
Note 2: This number does not include technical header data size used inside the HTTP or HTTPS protocol or by protocols at a lower level (TCP, IP...).

Because of two previous notes, this number is often lower than bandwith reported by your provider (your provider counts in most cases bandwitdh at a lower level and includes all IP and UDP traffic).


Entry Page:
First page viewed by a visitor during its visit.
Note: When a visit started at end of month to end at beginning of next month, you might have an Entry page for the month report and no Exit pages.

That's why Entry pages can be different than Exit pages.


Exit Page:
Last page viewed by a visitor during its visit.
Note: When a visit started at end of month to end at beginning of next month, you might have an Entry page for the month report and no Exit pages.
That's why Entry pages can be different than Exit pages.


Session Duration:
The time a visitor spent on your site for each visit.

Some Visits durations are 'unknown' because they can't always be calculated. This is the major reason for this:

- Visit was not finished when 'update' occured.
- Visit started the last hour (after 23:00) of the last day of a month (A technical reason prevents AWStats from calculating duration of such sessions).


Grabber:
A browser that is used primarily for copying locally an entire site. These include for example "teleport", "webcapture", "webcopier"...


Direct access / Bookmark:
This number represent the number of hits or ratio of hits when a visit to your site comes from a direct access. This means the first page of your web site was called:

- By typing your URL on the web browser address bar
- By clicking on your URL stored by a visitor inside its favorites
- By clicking on your URL found everywhere but not another internet web pages (a link in a document, an application, etc...)
- Clicking an URL of your site inside a mail is often counted here.


Add To Favourites:
This value, available in the "miscellanous chart", reports an estimated indicator that can be used to have an idea of the number of times a visitor has added your web site into its favourite bookmarks.

The technical rules for that is the following formula:

Number of Add to Favourites = round((x+y) / r)
where
x = Number of hits made by IE browsers for "/anydir/favicon.ico", with a referer field not defined, and with no 404 error code
y = Number of hits made by IE browsers for "/favicon.ico", with a referer field not defined, with or without 404 error code
r = Ratio of hits made by IE browsers compared to hits made by all browsers (r <= 1)

As you can see in formula, only IE is used to count reliable "add", the "Add to favourites" for other browsers are estimated using ratio of other browsers usage compared to ratio of IE usage. The reason is that only IE do a hit on favicon.ico nearly ONLY when a user add the page to its favourites. The other browsers make often hits on this file also for other reasons so we can't count one "hit" as one "add" since it might be a hit for another reason.

AWStats differentiate also hits with error and not to avoid counting multiple hits made recursively in upper path when favicon.ico file is not found in deeper directory of path.

Note that this number is just an indicator that is in most case higher than true value. The reason is that even IE browser sometimes make hit on favicon without an "Add to favourites" action by a user.

  • 587 Users Found This Useful
Was this answer helpful?

Related Articles

Timezone Reference List

As you build your website, you may need or want to change the default time zone for your account...

How to Keep Your cPanel Contact Information Up To Date

This tutorial will teach you how to keep your contact information up to date in cPanel. It is...

Becoming Familiar and Navigating Around in cPanel

Lets learn about cPanel, and how to navigate it's many pages and functions. Making sure that your...

How to Use Cron Jobs Feature on cPanel

Introduction In this guide, you will learn how to use Cron Jobs feature. Cron jobs allow you to...

How to Increase PHP Upload Limit

In some cases, default server settings may not let you upload larger files via your website. This...