How to Configure Visitor Tracking, Reporting and Notifications for WP Statistics
The second step in the guide to the WP Statistics WordPress plugin will focus on configuration so you can get the best data possible, including up-to-the-second stats across the board.
Step 1) Login to the WordPress Dashboard.
Step 2) From the Admin Panel, head to Statistics >> Settings.
Step 3) The Settings are split into various sections, each one featured in a toolbar at the top of the page.
These are: General, Notifications, Dashboard/Overview, Access/Exclusions, GeoIP, browscap, Maintenance and Removal.
Step 4) General settings begin with whether you wish to activate the Hash IP Address feature, which means that IP addresses won’t be stored, meaning that you won’t be able to recover the IP addresses in the future to recover location information if this is enabled.
Step 5) The Users Online section is for monitoring when users are online when using your site.
You can check to see if users are online every matter of seconds (default is 30) and record all users by ticking the Active box.
Step 6) You can track visits and visitors by ticking the Active boxes for both.
You can also set the number of visits that account for several hits (the default is 1) and store the entire user string (which is used for debugging but cancelled out if you tick the Hash IP Address feature in Step 5).
Step 7) To monitor the Stats for pages, tick the Active box. From here, you can decide whether you want to track all pages, strip parameters from the URI (removing anything after the ? in a URL).
You can also disable the hits column the Posts/Pages list by ticking the Active box.
Step 8) In the Miscellaneous settings, you can decide whether you want to show stats in the menu bar, hide admin notices about non active features, and delete the Manual of how to use the plugin.
These are settings for guys who know what they are doing and don’t need any more advice or support with the plugin.
Step 9) The Search Engines section is where you can disable stats for certain search engines. Focus on Google, Bing and Yahoo first, but others might be useful to you.
Step 10) Activate the Include Totals feature of the Charts section if you want to include a total line in your charts. In the Languages settings, you can also Activate the Force English section to use the English defaults and ignore the translations.
Step 11) The next section of the Settings is Notifications. The first port of call is to set the email address(es) that you want your reports to be sent to.
Step 12) In the Update Reports and Statistical Reporting sections, you can have reports sent whenever the Browcap, GeoIP, Pruning and Upgrade features are updated, and activate statistical reporting in general.
Step 13) The Dashboard/Overview settings allow you to set which features are available to all users.
The first two are the Dashboard Widgets and Post/Page Widgets. Tick the boxes to disable the features.
Step 14) You can set the map on your Stats page to the JQVMap or Google Map, and enable or disable the map by ticking the Disable Map box.
You can also tick the box marked Get Country Location from Google to get stats based by country.
Step 15) You can set the Overview Widgets based on your preferences. They are split into Column A and Column B, and cover all the stats you will need to view.
Step 16) The Access/Exclusions settings are next, and the first section is Access Levels. Here, you can set the required user level to view and manage stats.
Step 17) The Exclusions settings are used to create a record for hits you don’t want to include in your main stats, including those by Admin, Editors and other user roles, which you can manage in the Exclude User Roles section.
Step 18) The IP/Robot Exclusions are used to exclude IP Adresses and Robots that scan your site. You can create exclusion lists for both, and optimise your settings to catch out potential robots.
Step 19) The GeoIP Exclusions settings are used to exclude and include certain countries from the list that create your statistics.
Step 20) The Host Exclusions settings are used to exclude certain hosting companies from your statistics. Enter them into the box marked Excluded Hosts List.
Step 21) You can exclude certain site URLs by ticking the Exclude boxes for the Login, Admin and RSS Feeds pages. However, you can add your own URLs to the list by inserting them into the box provided.
Step 22) The GeoIP settings are based on collating stats using the IP location services provided by GeoLite2 data. You can enable the feature, download the GeoIP Database and set the country code for private IP address.
Step 23) The Browscap settings include enabling the Browscap database to be downloaded, and schedule a weekly update for the feature.
Step 24) The Maintenance settings are based around your database, and is used to get rid of data older than a time of your choosing (the default is 365 days).
Step 25) The Removal section of the plugin is used to remove data and settings of the plugin, and is a useful tool because uninstalling the plugin will not remove it. It is a great way to refresh the stats.
The next step of the guide will focus on How to Manage Data in the WP Statistics Plugin.