Traffic Watch module is designed to provide finer control over the Traffic Watch system. It's your silent site traffic watcher which you can use to find out what exactly is going on your site.

So, you can think of the Traffic Watcher as nothing more than a window into web requests to your WordPress site.

Why would you need the Traffic Watcher?

In everyday use, you wouldn't need the watcher to be active. It'll use resources that you otherwise don't need to use.

But, if you're concerned about a sudden performance drop, or feel that your site is subject to some sort of attack, you can enable it to get a more informed view on your traffic.

Please note that the Traffic Watcher doesn't use a lot of resources. But it will perform an database insert (write) on each page load. It's a tiny execution and not one that will impact your page loading.

Shield performs this database write at the very end of execution so any page loading for the visitor will complete 99.99% and then the database execution starts.

In this way there'll be no noticeable performance impact from it if, for example, your SQL server is having trouble at the time.

How to setup Traffic Watch module

Setting up this module is very easy. You just need to enable it first and then set the following options based on your requirements:

  • Traffic log exclusions
  • Custom exclusions
  • Auto expiry cleaning
  • Maximum log lenght
  • Auto disable

Once it's been set, you can use Traffic Watch Viewer to review your site traffic logs.

Read more about Traffic Watch Viewer here.

Traffic Watch Options Explanations

Option: Traffic Log Exclusions

You can use this option to select request types that you don't want to be included in the traffic viewer. The following request types can be excluded:

  • "Simple" - any HTTP requests to your site that don't contain any data parameters in either GET/POST.
  • AJAX
  • Logged-in users
  • WP Cron
  • Search bots - supports Google, Bing, Yahoo!, Duck Duck Go, Yandex, Apple, Baidu
  • Uptime Monitoring Services (i.e. Status Cake, Pingdom, UptimeRobot)

If a request matches any exclusion rule, it will not show on the traffic viewer.

To find out how the Traffic Log Exclusions option works, read the article here.

Option: Custom Exclusions

You can use this option to exclude the logging of web requests you know to be legitimate

For each entry, if the text is present in either the User Agent or request Path, it will be excluded.

Take a new line for each entry. Please note that comparisons are case-insensitive.

To learn how to manually customize exclusions, read the article here.

Option: Auto Expiry Cleaning

You can use this option to enable traffic log auto expiry.

Simply enter the maximum number of days you want and the Database cleanup will delete logs older than that number of days.

Option:  Maximum Log Length

You can use this option to limit the size of the log to ensure it will be trimmed to your desired size regularly.

Just set the maximum traffic log lenght to keep - enter the maximum number into the filed and the Database cleanup will delete logs to maintain that number of records.

Option: Auto Disable

This will automatically turn off the logging after 1 week, in-case you're likely to forget about it.

Turn this option on if you want to prevent unnecessary long-term traffic logging.

Note: Timer resets after options save.

For more information about the Traffic Watcher, read the release article here.

Please note that the Traffic Watch feature is available with Shield Pro only. To find out what the extra features for Shield Pro are, read the article here.