Title: Page Visits Counter &#8211; Lite
Author: Denis Botić
Published: <strong>March 22, 2021</strong>
Last modified: April 6, 2026

---

Search plugins

![](https://ps.w.org/page-visits-counter-lite/assets/banner-772x250.png?rev=2501197)

![](https://ps.w.org/page-visits-counter-lite/assets/icon-256x256.png?rev=2501212)

# Page Visits Counter – Lite

 By [Denis Botić](https://profiles.wordpress.org/strongetic/)

[Download](https://downloads.wordpress.org/plugin/page-visits-counter-lite.zip)

 * [Details](https://wordpress.org/plugins/page-visits-counter-lite/#description)
 * [Reviews](https://wordpress.org/plugins/page-visits-counter-lite/#reviews)
 *  [Installation](https://wordpress.org/plugins/page-visits-counter-lite/#installation)
 * [Development](https://wordpress.org/plugins/page-visits-counter-lite/#developers)

 [Support](https://wordpress.org/support/plugin/page-visits-counter-lite/)

## Description

This plugin is going to display the number of visits for each page in the:

 * Admin dashboard
 * Browser developer-tools/console tab – (HIDDEN COUNTERS)
 * Website/page frontend – (OPTIONAL)

You can add and display counters on the frontend of your website:

 * total page-visits-counter and/or
 * total website-visits-counter

( Page-visits-counter does not count page refresh as a new visit while Website-visits-
counter counts everything. )

###  Hidden page counter + admin page reports

###  How to display hidden counter on a website frontend?

The purpose of this plugin is to supplement the report of actual visits to the pages
of the website that cannot be recorded through advanced analytical tools. Advanced
analytical tools require the consent of a visitor before the visit is recorded.

###  WHY LITE?

 * It is a small size software and it does not require much memory.
 * It is not going to crowd your database with tons of metric data and “eat” database
   memory.
 * It is not going to collect user’s personal data – GDPR compliant.

###  NOT COUNTING

 * Logged in user with a role:
    - admin
    - editor
    - shop manager
    - custom role
 * Page refresh/reload ( But “Total Visits” load&reload sum will count it. )
 * Submitting comments ( But “Total Visits” load&reload sum will count it. )
 * Visiting direct media link in the uploads folder
 * Media – attachment page
 * Search results page
 * Update cart ( But “Total Visits” load&reload sum will count it. )
 * Checkout/order received ( But “Total Visits” load&reload sum will count it. )

###  COUNTING

 * A visitor ( Not logged in )
 * Logged in user with a role:
    - Subscriber
    - Author
    - Contributor
    - Pending_user
    - Customer
 * Pages and posts:
    - Pages and subpages
    - Default and Static Homepage
    - Blog Posts page
    - Single post
    - Default category and tag – archive pages
    - 404
    - CPT
    - Taxonomy archive pages
    - WooCommerce:
       * SHOP – archive page
       * Single product
       * Default category and tag – archive pages
       * Attribute archive pages
       * Cart ( Check Update cart is not counting… )
       * Checkout ( Check “Checkout/order received” is not counting…)

###  ON CHANGE NAME of Page, Post, Product…

If you change the name of an existing page, post, product, archive, etc. then the
old page will remain intact in the page visits report.
 After a new visit, the new
page name will appear in the page visits report and the counter will start counting
visits for the new page from the start.

###  ON DELETE of Page, Post, Product…

If you delete an existing page, post, product, archive, etc. then the page will 
remain intact in the page visits report including its number of visits.

###  VISITS-COUNTER ON THE WEBSITE FRONTEND

There are two counter types:

 * Website counter
 * Page counter ( Not counting page refresh. )

You can add one or both counter types on your website or page frontend.

Instructions on how to add counter/s to your website are in the plugin settings 
page under the tab named counter.

###  FEATURES

 * Invisible counter (In browser Developer-tools / Console)
 * GDPR Compliant
 * WooCommerce (HPOS and Remote Logging) compatible

###  REQUIREMENTS

 * WordPress 5.0 +
 * PHP 5.6.40 +
 * WooCommerce 4.9.2 +

###  PLUGIN UNINSTALL

On the plugin delete/uninstall it will automatically clean its data from the database
unless you select to preserve them in the plugin settings area.
 Therefore, it is
harmless for you to try out this plugin.

###  FOR DEVELOPER

Admin dashboard widget has four wp-hooks:

 * add_action( ‘StrCPVisits_db_widget_wrapper_start’ );
 * add_action( ‘StrCPVisits_db_widget_after_total_visits_boxes’ );
 * add_action( ‘StrCPVisits_db_widget_wrapper_end_before_js’ );
 * add_action( ‘StrCPVisits_db_widget_wrapper_end_after_js’ );

### LEGAL

[Privacy policy](https://github.com/DenisBotic/WP-org-plugin-PAGE-VISITS-COUNTER-LITE/blob/main/privacy-policy.txt)

[Disclaimer](https://github.com/DenisBotic/WP-org-plugin-PAGE-VISITS-COUNTER-LITE/blob/main/read-me-disclaimer.txt)

## Screenshots

 * [[
 * VISITS BY PAGE NAME – Dashboard widget
 * [[
 * SETTINGS AND DOCUMENTATION PAGE
 * [[
 * DEVELOPER-TOOLS/CONSOLE – Page visits
 * [[
 * DISPLAY COUNTER ON WEBSITE FRONTEND – code samples

## Installation

 1. FIRST DOWNLOAD PLUGIN ZIP FILE.
 2. Log in to your administration panel.
 3. Go to Plugins page, click on Add New, then click “Upload Plugin” .
 4. Then click “Choose file” then select the plugin zip file.
 5. Install and activate plugin.

### ATTENTION

After the plugin is installed and activated, you need to flush the cache memory 
for all pages and delete minified javascript (JS) and styling (CSS) files.

( Minified JS and CSS files will be recreated automatically by their own plugin/
software.)

###  WHY?

If you are using cashing method to improve your website loading speed then you have
to clean the cache memory so the plugin code gets included in your website code.

Otherwise, it will not work.

###  WHERE TO FIND?

A WP website cashing options can be found in:

 1. WP cashing and automatic optimization plugins
 2. Server/Hosting ( Not every hosting has this option… )
 3. Cloud

( A minify JS and CSS option can be found in WP automatic optimization plugins. )

You should flush the cache memory from all three places in the presented order.

Usually, there are buttons for that:

 * A button can be named: Clear/Purge/Flush or a brume icon instead.
 * A button named “Delete min JS and CSS” or something like that.

###  WHAT AFTER?

After that, log out from your website and visit the page that counts.
 That visit
should be recorded and you should see it in the plugin dashboard widget. To see 
it, you should log in again to your WP website backend and visit the menu option
called Dashboard. Search for the widget like seen in the screenshot tab.

## FAQ

### Where I can find the page visits report as seen on the screenshot?

If you have installed and activated the plugin then you can select the “Dashboard”
option from the WordPress admin menu and there you should find a widget called “
ALL PAGE VISITS.”
 If it is not expanded, just click on the title and you should
be able to see it. If there are no recorded visits yet, a quick info tab is going
to be expanded with a short explanation on what type of visits are going to be recorded.

### Where I can find the plugin settings page?

You will find it under the settings option in the WordPress admin menu.
 It is called“
Page Visits Counter Lite”.

### Is it going to count the sum of all page visits?

Yes, there are two TOTAL VISITS boxes.
 The first one is going to sum all page visits
without counting a page refresh/reload. The second one will count the sum of all
visits, including a page refresh/reload.

### Can I delete a page from the report?

Yes, you can.

### Can I update the number of visits?

Yes, you can update the number of TOTAL VISITS box and you can update the number
of visits for each page.
 The TOTAL PAGE VISITS box will recalculate the number 
of page visits automatically.

### Can I enable page refresh/reload counting for each page report?

No, there is no such option.

### Can I set it up so it will preserve page visit records after the plugin is uninstalled?

Yes, you will find that option (checkbox) in the plugin settings area under the 
settings tab.
 Just check the option called “Do not delete plugin data on plugin
delete/uninstall” and click on the Save button.

### Can I display a number of page visits on the website/page frontend?

Yes, you can add and display one or both counters on the frontend of your website:

 * Page-Visits-Counter – does not count page refresh
 * Website-Visits-Counter

### Why frontend visits-counter displays N/A?

 * N/A stands for “Not Available”
 * It is a default counter state – counter does not use zero

A not-counting page is going to display N/A.

Also, any other page is going to display N/A until it is visited by either:

 * signed-out user
 * signed-in user with a counting user role

( For more info about “Counting” and “Not Counting” read in the plugin documentation.)

You can find explanation in the plugin settings page under counter tab.

### Does it set cookies into the user browser?

No, this plugin does not set browser cookie/s.

### I have visited my page but my visit is not recorded?

You have to logout before visiting the page or login with one of the user roles 
that page will count.
 (Please read the plugin documentation under titles “NOT COUNTING”
and “COUNTING”.)

### I have visited my page but only the TOTAL VISITS box has recorded the visit?

You have probably refreshed the page and the TOTAL VISITS box is counting everything
including a page refresh/reload.
 Page visits are not counting page refresh/reload.(
Please read the plugin documentation under titles “NOT COUNTING” and “COUNTING”.)

## Reviews

![](https://secure.gravatar.com/avatar/3fa89721b7ca0654d3d7402bcc2c1ec95fef0e98edc9ab082203d807d870f183?
s=60&d=retro&r=g)

### 󠀁[Good basic counter](https://wordpress.org/support/topic/good-basic-counter/)󠁿

 [justmehereinbrisbane](https://profiles.wordpress.org/justmehereinbrisbane/) April
13, 2025

It does everything that I need. Thank you

![](https://secure.gravatar.com/avatar/c0f348dc38cf20223bcc3441686af9d3249744fc834f9a0c68fc2b134bcaaa00?
s=60&d=retro&r=g)

### 󠀁[Just what I wanted](https://wordpress.org/support/topic/just-what-i-wanted-124/)󠁿

 [taastrategies](https://profiles.wordpress.org/taastrategies/) December 9, 2024

Installed this on one website and liked it so much I installed it on a second. Nothing
to do except install it, purge the cache, log out, and log in. The display of page
counts on the dashboard is just what I wanted.

![](https://secure.gravatar.com/avatar/40a391f97c70491b73623b7c26d68966a84f0d73ae133d93c7addb64c21f05ae?
s=60&d=retro&r=g)

### 󠀁[OK, but not very friendly](https://wordpress.org/support/topic/ok-but-not-very-friendly/)󠁿

 [bandsaw12](https://profiles.wordpress.org/bandsaw12/) April 2, 2024 1 reply

Compared to what I was using (Advanced Page Visit Counter, which was removed for
security reasons), this plug-in does the job – but is very cumbersome and not very
friendly. It would be so much more useful with shortcodes. Also, would like to be
able to use shortcodes on any page to get statistics about any other page counts(
a statistics web page if you will – without ever having to log in to the admin panel).
Two stars for me due to the plug in being cluncky, not very useful outside of the
admin dashboard and lack of shortcodes and ease of use.

![](https://secure.gravatar.com/avatar/e9dd9c3307dd51370195c3464be326971c75fed075cb50f65b989f9fe46cb58d?
s=60&d=retro&r=g)

### 󠀁[More trouble than its worth](https://wordpress.org/support/topic/more-trouble-than-its-worth-6/)󠁿

 [vivekpravat](https://profiles.wordpress.org/vivekpravat/) August 25, 2023 1 reply

This plugin crashed my website as soon as I installed it. I couldn’t even get into
my admin panel to disable the plugin. I eventually found out a way to disable by
going to the source file folders and renaming the folder this one came in to something
else.

![](https://secure.gravatar.com/avatar/1458bb09a2dc010c7fcbfbadc02a71c25105f79880e14ab1268f41945c1e6d42?
s=60&d=retro&r=g)

### 󠀁[Fantastic Plugin…!!!!](https://wordpress.org/support/topic/fantastic-plugin-1788/)󠁿

 [ikihinojosa](https://profiles.wordpress.org/ikihinojosa/) September 25, 2022

Thank you so much for this plugin… is easy, simple, it doesn't affect speed or anything,
works in back and from end… could not be better I try some few… this is the best
Thanks again

![](https://secure.gravatar.com/avatar/e424c8578d4e5d08b0807bc2f9aa5c9c857e0e5e86f4c7e8bc2ccfa5fb94d5d1?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin and Very Useful](https://wordpress.org/support/topic/excellent-plugin-and-very-useful-2/)󠁿

 [ashrafsello](https://profiles.wordpress.org/ashrafsello/) January 24, 2022

I recommend this plugin for every one, It’d very useful and easy to use, I use it
on my WordPress Woocommerce Website, I can know the visitor count for each product
listed, In my opinion this plugin is more useful than Google Analytics itself. Many
thanks to the developer of this Page Visits Counter – Lite plugin.

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/page-visits-counter-lite/reviews/)

## Contributors & Developers

“Page Visits Counter – Lite” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ Denis Botić ](https://profiles.wordpress.org/strongetic/)

“Page Visits Counter – Lite” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/page-visits-counter-lite/contributors)
for their contributions.

[Translate “Page Visits Counter – Lite” into your language.](https://translate.wordpress.org/projects/wp-plugins/page-visits-counter-lite)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/page-visits-counter-lite/),
check out the [SVN repository](https://plugins.svn.wordpress.org/page-visits-counter-lite/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/page-visits-counter-lite/)
by [RSS](https://plugins.trac.wordpress.org/log/page-visits-counter-lite/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.6 – 10.02.2023

Tested on WP version 6.9.4
 Tested on WooCommerce version 10.6.2

#### 1.2.2 – 06.01.2025

Tested on WP version 6.7.1
 Fixed WooCommerce HPOS and Remote Logging plugin incompatibility
error message by adding a WooCommerce HPOS declaration. Tested on WooCommerce version
9.5.1 Corrected Stable Tag Reduced tags to 5 as per guidelines

#### 1.2.1 – 12.10.2024

Tested on WP version 6.6.2
 Bug Fixed – delete page

#### 1.2.0 – 13.12.2023

Fix coding standards
 Add the disclaimer and privacy policy in plugin files Hash
IP address Add Croatian translation Tested on WP version 6.4.2

#### 1.1.7 – 10.02.2023

Fix nonexistent array key error when new IP – ( prevent PHP warning in debug.log)

#### 1.1.6 – 10.02.2023

Tested on WP version 6.2

#### 1.1.5 – 04.11.2022

Tested on WP version 6.1= 1.1.4 – 16.07.2022 =

Tested on WP version 6.0.3

#### 1.1.3 – 12.07.2022

Tested on WP version 6.0
 Tested with PHP version 7.4

#### 1.1.2 – 10.02.2022

Tested on WP version 5.9

#### 1.1.1 – 15.04.2021

Upgrade:

“Not counting this page” indicator in hidden counter when logged in with not counting
user role.

Bug fixed – getting the page report data when page report deleted.

#### 1.1.0 – 14.04.2021

Upgrade:

Add HTML code and display counter on the website frontend:
 * Current page visits
counter * Website visits counter

Dev Tools / console – see the visits number even if you are logged in with a user
role that doesn’t count…

#### 1.0.5 – 06.04.2021

Switching between hidden and visible list when search menu expanded is upgraded

#### 1.0.4 – 31.03.2021

Plugin internationalized
 Tested on WordPress 5.7.0 Bug fixed – deselect all on 
list type switch when options menu closed

#### 1.0.3 – 29.03.2021

Dashboard widget – Video tutorial button added

#### 1.0.2 – 23.03.2021

On page report/s delete – remove it from hidden reporting bug fixed

#### 1.0.1 – 23.03.2021

On page report/s delete remove it from hidden reports list

#### 1.0.0 – 22.03.2021

Initial release…

## Meta

 *  Version **1.2.3**
 *  Last updated **2 weeks ago**
 *  Active installations **5,000+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 5.6.40 or higher **
 *  Languages
 * [Croatian](https://hr.wordpress.org/plugins/page-visits-counter-lite/) and [English (US)](https://wordpress.org/plugins/page-visits-counter-lite/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/page-visits-counter-lite)
 * Tags
 * [page views](https://wordpress.org/plugins/tags/page-views/)[page visit counter](https://wordpress.org/plugins/tags/page-visit-counter/)
 *  [Advanced View](https://wordpress.org/plugins/page-visits-counter-lite/advanced/)

## Ratings

 4 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/page-visits-counter-lite/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/page-visits-counter-lite/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/page-visits-counter-lite/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/page-visits-counter-lite/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/page-visits-counter-lite/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/page-visits-counter-lite/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/page-visits-counter-lite/reviews/)

## Contributors

 *   [ Denis Botić ](https://profiles.wordpress.org/strongetic/)

## Support

Issues resolved in last two months:

     1 out of 1

 [View support forum](https://wordpress.org/support/plugin/page-visits-counter-lite/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.fiverr.com/denis555/gladly-accept-5usd-tip-for-my-good-work/)