Archives: Documentations

Anonymize IP Addresses

Sometimes you need to enable the Anonymize IP Addresses with PHP code for GDPR, here is an example to do that.   add_action(‘init’, function (){ global $WP_Statistics; $WP_Statistics->update_option( ‘anonymize_ips’, ‘1’ ); });  

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_ipfilter 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 if your […]

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

The first thing you should do after installing WP Statistics is configuring the plugin. This can be accomplished through the settings page. Simply go to Statistics -> Settings to get there. The main settings page looks like this:   At the top are nine tabs; each one will be addressed separately. General Settings The General […]

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 platform used. The rest of the pie charts identify the different versions of browsers used. […]

WP Statistics Countries Page

WP Statistics Countries Page provides details about the countries of users that have visited your site. This chart will list all countries and includes the number of visitors from each. The top part of the page allows you to select from 10, 20, 30 days increments 2, 3, 6, 9 months increments 1-year increment Range, […]

WP Statistics Exclusions Page

WP Statistics Exclusions Page provides a trending chart for the exclusion reasons if Statistics -> Settings -> Record Exclusions is enabled. The top part of the page allows you to select from 10, 20, 30 days increments 2, 3, 6, 9 months increments 1-year increment Range, an arbitrary range of dates to graph Note that […]

WP Statistics Hits Page

WP Statistics Hits Page provides a trending chart for the total visitors to your site over a selectable timeline. The top part of the page allows you to select from 10, 20, 30 days increments 2, 3, 6, 9 months increments 1-year increment Range, an arbitrary range of dates to graph Note that the longer […]

WP Statistics Online Page

WP Statistics Online Page provides a list of users that are currently online and how long they have been online. Check out this article to learn more about all the available options.