Title: MonsterInsight plugin
Last modified: March 20, 2024

---

# MonsterInsight plugin

 *  Resolved [kpbryce132](https://wordpress.org/support/users/kpbryce132/)
 * (@kpbryce132)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/)
 * The MonsterInsights plugin display on Admin dashboard fails to update after a
   while. I think this is because of cache issue with Cloudflare SC plugin. I declared
   exception within the CF SC plugin for /admin/* but this also stops some of the
   AJAX executions and slows down the page load speed on these static pages. Can
   I make a /admin/index.php exception in the SC plugin and purge cache? Will this
   solve this problem with excepting the entire /admin/ directory? Many thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmonsterinsight-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/monsterinsight-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/monsterinsight-plugin/page/2/?output_format=md)

 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17517525)
 * Hi,
   Is there any error in the browser dev console?
 *  Thread Starter [kpbryce132](https://wordpress.org/support/users/kpbryce132/)
 * (@kpbryce132)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17517582)
 * The only one I see tagged by MonsterInsights plugin is the following:
 * Ruleset ignored due to bad selector. [monsterinsight-plugin:2:1204](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17517525)
 * BTW if I totally purge the CF cache the problem resolves. But any activity, or
   edits or changes with the Admin dashboard will likely begin the endless “reloading”
   icon within the MonsterInsights plugin on the dashboard. Note: I am using the
   MI “free” plugin version which is current. It is feeding website data from GA4
   connection.
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17517584)
 * Hard to see what’s going on without seeing it in action.
 *  Thread Starter [kpbryce132](https://wordpress.org/support/users/kpbryce132/)
 * (@kpbryce132)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17517673)
 * Here are two screenshots which show before and after with this issue –
 * [https://www.designwerks.net/atest/before.png](https://www.designwerks.net/atest/before.png)
 * [https://www.designwerks.net/atest/after.png](https://www.designwerks.net/atest/after.png)
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17520471)
 * Hi,
   can you share a screenshot of the browser console?
 *  Thread Starter [kpbryce132](https://wordpress.org/support/users/kpbryce132/)
 * (@kpbryce132)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17520577)
 * Yes, specifically what are you looking for? If I use an spec within CF to exempt
   the Admin dashboard then all is well. I do not wish to exempt ALL of the Admin
   directory and sub-directories however.
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17525670)
 * In the Chrome dev tools, there is a browser console section, I need to see if
   there is any error being thrown there.
 *  Thread Starter [kpbryce132](https://wordpress.org/support/users/kpbryce132/)
 * (@kpbryce132)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17525816)
 * Per you request here is console with 2 errors –
 * [https://www.designwerks.net/atest/console_error.jpg](https://www.designwerks.net/atest/console_error.jpg)
 *  Thread Starter [kpbryce132](https://wordpress.org/support/users/kpbryce132/)
 * (@kpbryce132)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17525891)
 * BTW – I see on the console output there is an error with the timeout of the nonce
   set for a call to AJAX “NONCES EXPIRED”: TRUE
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17525896)
 * Huh! It’s hard to say what’s the reason behind this problem without actually 
   replicating the problem live.
 *  Thread Starter [kpbryce132](https://wordpress.org/support/users/kpbryce132/)
 * (@kpbryce132)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17526165)
 * I know through experimenting that purging the Cloudflare cache cures the issue–
   so when MonsterINsights gets into a load loop on the ADMIN dashboard this is 
   an effective correction to the problem. Maybe this is an issue with a nonce this
   plugin sets and the caching by Cloudflare interferes with the proper loading?
   I can’t permit 3rd parties to access our website admin because of client data
   contained here. So, going forward what are other solutions you think would help
   other than the one above I mentioned?
 *  Thread Starter [kpbryce132](https://wordpress.org/support/users/kpbryce132/)
 * (@kpbryce132)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17528813)
 * Hi again,
 * I suspect the trigger for this issue might be the computer sleep schedule. This
   mode may ignore the set nonce and when it wakes and tries to continue the nonce
   is out of sync. I have seen this before with other apps. Of course purging the
   Cloudflare cache forces the app and computer to share a newly created nonce. 
   So changing the computer setting to “not sleep” may stop this issue. I will test
   and report back my findings ASAP.
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17529007)
 * Well, for logged-in users cache is bypassed. So, not sure how cache can play 
   a role here, as cache is bypassed for all logged-in users.
 *  Thread Starter [kpbryce132](https://wordpress.org/support/users/kpbryce132/)
 * (@kpbryce132)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17529056)
 * In Cloudflare’s control dashboard under “Cache” settings you can specify “Cache
   everything” and use website.com/* specification. Then use exclusions about that
   setting. This may be trial and error testing before the cause can be determined.
   I will continue testing – not sure I will find the solution – or the immediate
   cause of the issue.
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/#post-17529095)
 * The plugin uses the Cache-Control header to tell Cloudflare what to cache and
   what not to cache. Can you share the response header of your logged-in page so
   that I can see what’s going on?

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/monsterinsight-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/monsterinsight-plugin/page/2/?output_format=md)

The topic ‘MonsterInsight plugin’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 24 replies
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/monsterinsight-plugin/page/2/#post-17538756)
 * Status: resolved