Archives: Documentations

Install the WP Statistics Plugin

Installing the WP Statistics free plugin on your WordPress website is so easy and similar to install any other plugins. You can do it in different ways. Here we will show you 3 ways of installing WP Statistics: Pre-installation The plugin is compatible with cache plugins, only if you enable Cache Compatibility in Settings » […]

Introduction to WP Statistics

Welcome to the WP Statistics, free WordPress plugin! This plugin is designed to track your visitor statistics in WordPress completely locally without any external services. There are several key items to note about WP Statistics: First, no external services are required. Second, all code and data run locally on your system. Aggregated data is stored […]

Get a Page Stats List

You can make a list from Page Stats, including ID, Count, and Page Slug, by the following code:

Anonymize IP Addresses

To enable this feature you need to go to Setting » Privacy » Anonymize IP Addresses and check the box to enable it.

Sanitize User IP

If the IP value returned from your server has a special character, you can sanitize user IP by using: wp_statistics_sanitize_user_ip filter in your WordPress for getting real user IP from your $_SERVER. For example: If your $_SERVER: 192.000.000.1, 192.000.000.2, 192.000.000.3 And your real IP is: 192.000.000.1, You can use a final filter like this: Or […]

Dashboard Widgets

WP Statistics includes a number of dashboard widgets you can add if you have read access to WP Statistics. By default, the dashboard widgets are not displayed, with the exception of the Quick Stats widget. Users can individually enable them through the “Screen Options” drop-down in the WordPress dashboard. The dashboard widgets mirror the Overview […]

Settings Page

WP Statistics offers a wide range of customizable settings that allow you to tailor the plugin’s functionality to your specific needs. By adjusting these settings, you can enhance the performance of your website, ensuring that WP Statistics operates efficiently and effectively in line with your usage patterns. Getting Started Before diving into the specifics, ensure […]

WP Statistics Overview Page

WP Statistics Overview Page gives you a quick summary of all the statistics available. It contains several “widgets” to display information: Summary Statistics, Browsers, Top referring sites, Top 10 Countries, About, Top visitors on the map, Hits Statistical Chart, Search Engine Referrals Statistical Chart, Latest Search Words, Top Pages Visited and Recent Visitors. Widgets Each […]

WP Statistics Browsers Page

WP Statistics Browsers Page provides details about the browser that users are using to visit your site. This information is presented in a series of pie charts. The first two pie charts provide details on the browser type and Operating Systems used. The rest of the pie charts identify the different versions of browsers used. […]