Title: Plugin doesn&#8217;t count views
Last modified: February 28, 2023

---

# Plugin doesn’t count views

 *  Resolved [nevish](https://wordpress.org/support/users/nevish/)
 * (@nevish)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/plugin-doesnt-count-views/)
 * Hi,
 * since i changed my theme (now I have Kadence, before i had Neve) the plugin doesn’t
   count views anymore. This is happening for 5-6 months, at the beginning I thought
   was a momentary problem, but at this point I think it will last still.
 * This is my debug schedule:
 *     ```wp-block-code
       Plugin Configuration
   
       Performance Nag: Dismissed
   
       Log Limit: No
   
       Log Views From: Everyone
   
       Data Caching: Yes, 1 minute
   
       Data Sampling: No
   
       External object cache: No
   
       WPP_CACHE_VIEWS: No
   
       System Info
   
       PHP version: 7.4.33
   
       PHP extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, gmp, SPL, iconv, pcntl, readline, Reflection, session, standard, shmop, SimpleXML, mbstring, tokenizer, xml, litespeed, bcmath, dba, dom, enchant, fileinfo, gd, imagick, imap, intl, json, ldap, exif, mcrypt, mysqli, mysqlnd, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, snmp, soap, sockets, sysvmsg, sysvsem, sysvshm, xmlreader, xmlrpc, xmlwriter, xsl, zip, Zend OPcache
   
       Database version: 10.3.37-MariaDB-cll-lve
   
       InnoDB availability: YES
   
       WordPress version: 6.1.1
   
       Multisite: No
   
       Active plugins: Async JavaScript 2.21.08.31, Complianz | GDPR/CCPA Cookie Consent 6.4.1, Elementor 3.11.2, Essential Addons for Elementor 5.6.0, Ivory Search 5.5, LuckyWP Table of Contents 2.1.4, Redirection 5.3.9, Site Kit by Google 1.95.0, W3 Total Cache 2.3.0, WordPress Popular Posts 6.1.1, Yoast SEO 20.2
   
       Theme: Kadence (1.1.31) by Kadence WP
       ```
   
 * What can I do to resolve it? This is website’s domain: [https://angolodeiperche.it/](https://angolodeiperche.it/)
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-doesnt-count-views%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/plugin-doesnt-count-views/#post-16515581)
 * Hi [@nevish](https://wordpress.org/support/users/nevish/),
 * Just checked your website and I’m not sure what you mean with “it’s not counting
   visits anymore” since it’s clearly working at the moment:
 * ![](https://i0.wp.com/i.postimg.cc/Y2TCscjf/wpp-201-response.jpg?ssl=1)
 * (A **_201_** response, _201 Created_, means that WordPress Popular Posts was 
   able to track my visit normally.)
 * Am I missing something? If so then I’d appreciate it if you could clarify further.
 *  Thread Starter [nevish](https://wordpress.org/support/users/nevish/)
 * (@nevish)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/plugin-doesnt-count-views/#post-16518771)
 * Hi Héctor,
 * Thanks for answer! I show you daily recap last week
 *  [https://ibb.co/ykDvyZG](https://ibb.co/ykDvyZG)
 * As you can see, the plugin usually can’t count views, even if I have 200-250 
   daily visitors. What can i do?
    -  This reply was modified 3 years, 3 months ago by [nevish](https://wordpress.org/support/users/nevish/).
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/plugin-doesnt-count-views/#post-16518942)
 * Yeah, that’s not normal at all.
 * Going from your plugins list, I’d say the first suspect is W3 Total Cache. Maybe
   the rules / settings you’re using with it are a bit too aggressive? Please have
   a look at this FAQ for suggestions / recommendations and see if there’s anything
   you need to tweak on your end: [Is WordPress Popular Posts compatible with caching plugins?](https://github.com/cabrerahector/wordpress-popular-posts/wiki/5.-FAQ#is-wordpress-popular-posts-compatible-with-caching-plugins)
 * Let me know what your findings are.
 *  Thread Starter [nevish](https://wordpress.org/support/users/nevish/)
 * (@nevish)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/plugin-doesnt-count-views/#post-16520253)
 * I’m trying this:
 * “When you first install WordPress Popular Posts and **after every plugin update,
   flushing your site’s page cache is highly recommended** to make sure that WPP
   can insert its JavaScript code into your posts and pages correctly.”
 * After flushing my site’s page cache the plugin seems work, i’ll update you in
   4-5 days if this is the definitivile solution, thanks!
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/plugin-doesnt-count-views/#post-16520835)
 * That’s good news! In that case, you should also check this:
 * > **Your caching plugin’s page cache must expire at least once per day (every
   > 12 hours would be best) so WPP can keep track of your post/page views.** The
   > reason for this is that WPP uses a security token (or [nonces](https://codex.wordpress.org/WordPress_Nonces)
   > as the WordPress team calls them) to prevent the misuse of the plugin by external
   > actors. Said token expires roughly every 12-24 hours by default and so it’s
   > recommend having your site recreate its page cache every 12 hours in order 
   > for WPP to obtain a new security token and do its job as expected. Alternatively–
   > [although not really recommended for security reasons](https://wordpress.stackexchange.com/a/291891/135534)–
   > you could also [have WordPress Nonces last at least as long as your site’s cache lifetime](https://wordpress.stackexchange.com/q/291890/135534),
   > that way it won’t be necessary to have your caching plugin regenerate its cache
   > every 12 hours or so.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Plugin doesn’t count views’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/plugin-doesnt-count-views/#post-16520835)
 * Status: resolved