@arnan If your pages load behind a CDN and are cached, you won’t be able to record those visits, which is why JavaScript is often used, since it always executes in the browser.
One thing I’ve considered doing is having similar code in a `pixel.php` script that also sets the header `Cache-Control: no-store` to ensure CDNs and proxies always let the request for the pixel go back to the origin. I haven’t tried it yet, though.
@arnan If your pages load behind a CDN and are cached, you won’t be able to record those visits, which is why JavaScript is often used, since it always executes in the browser.
One thing I’ve considered doing is having similar code in a `pixel.php` script that also sets the header `Cache-Control: no-store` to ensure CDNs and proxies always let the request for the pixel go back to the origin. I haven’t tried it yet, though.