Title: pageviews.php doesn&#8217;t exist?
Last modified: March 22, 2023

---

# pageviews.php doesn’t exist?

 *  Resolved [JustMeee](https://wordpress.org/support/users/justmeee/)
 * (@justmeee)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/pageviews-php-doesnt-exist/)
 * Hi, **thanks** for your really **great plugin!**
   I have one question about it.
   I use it without any tracking (no cookies aso.). At the settings page I always
   get the info that a “_koko-analytics-collect.php_” doesn’t exists at the moment,
   but I have added it at the root. On the same flow, I realized that I have no 
   pageviews.php at my “wp uploads” file? Does your script only create it with tracking?
   Can / should I create it manually?

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

 *  Plugin Support [Lap](https://wordpress.org/support/users/lapzor/)
 * (@lapzor)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/pageviews-php-doesnt-exist/#post-16586739)
 * The pageviews file is created and deleted as needed by the plugin.
   Did you create
   koko-analytics-collect.php manually already, or fix the file permissions so it
   can be created?You can also use Koko without that file, but on a high traffic
   site it might start to slow things down if you do so. Can you share a link to
   your site so I can check how Koko is running at the moment?
 *  Thread Starter [JustMeee](https://wordpress.org/support/users/justmeee/)
 * (@justmeee)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/pageviews-php-doesnt-exist/#post-16587449)
 * Hi Lap, thx for your feedback / the info.
   Yes, I created the koko-analytics-collect.
   php manually and uploaded it to the root. The weird thing is that when I visit
   the Koko Analytics page in the backend, it gets deleted on my root, on my server.
   Is that normal?
 *  Plugin Support [Lap](https://wordpress.org/support/users/lapzor/)
 * (@lapzor)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/pageviews-php-doesnt-exist/#post-16595176)
 * When you visit the settings page, Koko will try to use/test that endpoint and
   if it doesn’t work (for whatever reason) it will delete the file. 
   What you could
   do is temporarily make your root folder writable, then visit the koko settings
   so that it created the endpoint, then check if the file is creted (by koko itself)
   and if so you can now revert the file permissions in your root folder again. 
   Your uploads folder also need to be writable so that it can generate the temporary
   pageviews file. This file will be deleted every time it’s processed, the endpoint
   file will stay in place (if it works). Hope that helps. If you have any questions,
   please let me know!

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

The topic ‘pageviews.php doesn’t exist?’ is closed to new replies.

 * ![](https://ps.w.org/koko-analytics/assets/icon.svg?rev=2980600)
 * [Koko Analytics - Privacy-Friendly WordPress Analytics](https://wordpress.org/plugins/koko-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/koko-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/koko-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/koko-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/koko-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/koko-analytics/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Lap](https://wordpress.org/support/users/lapzor/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/pageviews-php-doesnt-exist/#post-16595176)
 * Status: resolved