Mobile app version of vmapp.org
Login or Join
Gretchen104

: What files does AWStats track? Scenario: A have a client who has a small WordPress site (separate domain, but not multisite) within his hosting account that holds specific research information.

@Gretchen104

Posted in: #Awstats #Pdf

Scenario: A have a client who has a small WordPress site (separate domain, but not multisite) within his hosting account that holds specific research information. The small site did not have Google Analytics installed, but the host does have AWStats installed.

Problem: For the first time in the several year life span of the site, my client would like to know how many views there have been on a certain PDF file.

I have never used AWStats, but it did not seem to be recording much file use. So I loaded the PDF twice on separate days to see if the stats would pick up the fact that I loaded the PDF. After updating the stats, more pages showed as being loaded, but not the PDF. The stats are also not showing images as loading, but it is showing that files like xmlrpc.php are being loaded (probably by hackers.)

Do you know if there is a way to get AWStats to show PDF loads?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Gretchen104

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

As long as your PDF files are hosted on the same server, they should appear in the server logs. The first step to diagnosing the problem would be to ensure that PDF views are being logged properly.

Once you have verified that they are in the log file, you can configure AWStats to record them as page views. According to the AWStats documention, the NotPageList controls the extensions that are not counted as pageviews. The default is

NotPageList="css js class gif jpg jpeg png bmp rss xml swf"


You need to make sure that "pdf" has not been added to that list.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme