milesmcc / shynet

Modern, privacy-friendly, and detailed web analytics that works without cookies or JS.
Apache License 2.0
2.87k stars 180 forks source link

Question regarding Requests #297

Closed webmastermario closed 8 months ago

webmastermario commented 8 months ago

Hello,

i have a question regarding the script which i put on the website. Why does it request the script.js every few seconds when checking inside my console? Is that normal?

Thanks

milesmcc commented 8 months ago

Yes, that's normal. It's how we figure out how long someone stayed on the page.

CasperVerswijvelt commented 8 months ago

It only requests the script once using a GET request, the following calls are POST requests (to the same URL) but those responses only contain a small json result: {"status": "OK"}

image