Let’s get started
Take your business to next level
Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.
WP Statistics displays the number of views for each post in the WordPress admin posts list. If you prefer to show the number of unique visitors instead, you can use the following hook.
Please add this code to the functions.php file of your active theme:
add_filter('wp_statistics_mini_chart_metric', 'custom_chart_metric');
function custom_chart_metric($metric) {
// You can use 'visitors' or 'views' as the metric
return 'visitors';
}
Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.