Hi @ashubetta
we use the admin-ajax.php approach because it is faster. In the end there is still a JS file used which is tracking the visit even if a caching plugin is used.
See this PR for more technical details:
https://github.com/pluginkollektiv/statify/pull/109
Or our documentation:
https://statify.pluginkollektiv.org/documentation/settings/
(Please look at the section “Tracking method”)
In the future, we will not use AJAX anymore and move to a REST API endpoint. Please see this PR for more technical details:
https://github.com/pluginkollektiv/statify/pull/226
Hope this helps!
All the best
Torsten
