How do I exclude myself in stats ?

Asked by:
XDAZXZ / 30 Points
Time:
2014-02-19 5:44 pm EST
Category:
General Information
Hits:
71
How do you exclude yourself in Awstats ? I visit my site at least 10 times a day. My stats currently are very inaccurate because it shows that more than 50 % of visitors came from my country and it's messing up my entire stats. Please tell me a way to exclude myself.

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by User

0

JacobN
Staff
3,661 Points
2014-02-19 6:38 pm EST
Hello XDAZXZ, and thanks for the great question.

If you wanted to exclude your IP address from your Awstats report, this can be easily accomplished with the SkipHost="" variable in your Awstats configuration file.

For each of your websites you should have a unique Awstats configuration file. If you had the domain name example.com and your cPanel user name was userna5 your config file should be located at:

/home/userna5/tmp/awstats/awstats.example.com.conf


You can open this file with the cPanel code editor.

You just need to click on File Manager, for directory selection choose Home Directory and click Go.

In the left-hand tree style menu, you should click the [ + ]tmp folder, then again on the awstats folder.

Right-click on your awstats.example.com.conf file and click on Edit.

Hit Ctrl-F in your web-browser to bring up the find dialog box, then search for SkipHosts.

You should see this block of text:
# Do not include access from clients that match following criteria.
# If your log file contains IP adresses in host field, you must put here
# matching IP adresses criteria.
# If DNS lookup is already done in your log file, you must put here hostname
# criteria.
# Note: Use space between each value.
# Example: "127.0.0.1 163.84. 201.101.51.1"
# Example: "localhost abcxyz"
# Default: ""
#
SkipHosts=""

If you IP address was 123.123.123.123 you would edit that line to read:
SkipHosts="123.123.123.123"

This unfortunately won't do anything for your already compiled stat reports. However going forward your IP information should now be excluded from your Awstats reports.

Please let us know if you had any other questions at all.

- Jacob

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.