Hi ,
I’m experiencing an issue with the visit-tracking feature in Voxel.
Since putting the site behind Cloudflare, the AJAX call to /?vx=1&action=tracking.save_visit always returns:
{“success”:false,”message”:”Invalid request.”,”code”:100}
From your Tracking_Controller::save_visit() class this error is thrown when $_SERVER[‘REQUEST_METHOD’] !== ‘POST’. In the browser the request is sent as a POST and includes the expected form payload (post_id, ref_url, country_code), but by the time it reaches PHP the method appears to have changed, so the controller rejects it.
Could you advise on what may cause this (for example, any additional filtering or validation that might interpret the request as invalid) and how we can make the tracker accept it again? The issue arose immediately after enabling Cloudflare and persists even when we bypass caching/performance features, so we’re trying to determine if anything in Voxel could be sensitive to proxy layers.
Thanks for your help!
©2025 Created with 27collective LLC. All rights reserved