Statistics Tracking now working
-
I have tried this option on several different websites and it does not work, it even skips that website when clicking down from the pending request.
I think you should review it as soon as possible because it may be a security issue with the latest wordpress and new versions of php
-
Hello,
Thanks for your message. The “Statistics Tracking” is a simple tool that tracks the actions performed through the booking process by your visitors. It should tell you the rental dates selected, and how the visitor interacted with the search results (provenience, vehicle, insurance type etc..). In case the booking process led to a booking conversion, the system will tell you the rental order ID that was generated.
The purpose for activating and monitoring this tool is to check the “abandon rate” as well as the most demanded dates or vehicles. There cannot be any security issues, because it’s just a silent and internal logger. No conflicts with the versions of WordPress or PHP may arise as it’s a protected tool of our plugin’s framework that doesn’t require any particular software or system version.
If you said the tool isn’t working for you, please make sure to enable it from the apposite settings, and make sure your IP address is not flagged to be skipped/ignored. You may want to test it by using different Internet connections (hence different IP addresses) and browsers, as it relies on cookies.
We invite you to reach out to our team through our official website should you have any technical issues.
The VikWP Team
This issue cannot be considered resolved with just one explanation, that tool is not working and I have the pro version purchased directly from you.
That option when I try to access it goes down the website, I tried to look for any error in the console while trying to access it and no error appears.
Check it, test it and I believe you will understand what I am talking about!
Hello,
We didn’t know you were using the Pro/commercial version of the plugin, but if this is the case, then we need you to open a support ticket from our website, or we would go off-topic on this forum.
Also, we didn’t understand your website was going down when you tried to access that page in the wp-admin section. In this case the reason could be the fact that the database table is overloaded, but we are probably dealing with a technical issue related to your own installation. This is not a general bug, because that’s a built-in feature that has been used by thousands of active plugin installations for years.
The only way to resolve this issue is to investigate directly on your current installation, and in order to provide the necessary assistance, we kindly ask you to open a support ticket from our official website at support dot e4j dot com. This way we can understand what’s taking down your website. It is probably a large query, a script execution timeout or a memory exhausting issue.
Thank you,
The VikWP TeamThe problem was the database was overflowing, how can I limit the storage of track data to the last 3 months, for example?
Thanks for sharing the source of the issue. Ideally, the back-end page is querying the database through limits to support pagination and avoid overloading of the memory. It would have been good to understand if the issue was a script execution timeout (the loading took too long to complete), or if the issue was the server memory being exhausted, because in the latter case, lowering the number of records to load per page should fix the issue.
Unfortunately, there are no built-in tasks for automatically cleaning from the database those records that are older than 3 months, but this could be easily done by coding a custom Cron Job for VikRentCar. By following our knowledge base articles in the Developers section, you will see how to register a custom action (hook) to install at runtime a custom Cron Job that will be scheduled for automatic execution through the existing framework of our plugin that runs on the WordPress native WP-Cron system.
The
executemethod of your custom Cron Job should perform a simpleDELETEquery for those records whose creation date is older than 3 months. This way you could keep the database table “clean”.Can you give me this cron job correctly for the domain example.com?
But it would help me if you gave me a cronjob for the deletion and I believe that in this way we can help others who might read this comment.
Hello,
We cannot share a Cron Job, but we could include it with the next official plugin updates. However, right now this Cron Job should be coded by extending the framework of VikRentCar.
A “Cron Job” for our plugin is not a server-side cron (scheduled task), it’s rather a scheduled command within our plugin that will be executed by the WordPress native WP-Cron framework.
If you wanted to keep only the statistics tracking records of the last 3 months, then the only solution for the moment (May 2026) is to code a custom plugin that installs at runtime a custom “Cron Job” for VikRentCar by using the native hooks of our plugin. This cron should perform a query to delete the “old” records as explained in the previous comments.
These functions are only available with the Pro/commercial version of our plugin, so we invite you again to reach out to our team through our official website should you have any questions regarding this custom implementation.
The VikWP Team
You must be logged in to reply to this topic.