ihucos / counter.dev

Web Analytics made simple
https://counter.dev
GNU Affero General Public License v3.0
900 stars 40 forks source link

New tracking script: counting visits multiple times? #92

Closed ihucos closed 1 year ago

ihucos commented 1 year ago

Did not happen like this with the inline script. Problem has to be managed or I'd need to revert to the inline script (And continue supporting the external script).

Screenshot 2022-09-24 at 23 05 15

I don't know what exactly apparently changes on the browsers behaviour when loading the same javascript as external script.

ihucos commented 1 year ago

Ok, maybe it's just a bot because nobody clicks that fast.

[2022-09-24 21:58:53] US Computer Mac
[2022-09-24 21:58:55] US Computer Mac
[2022-09-24 21:58:57] US Computer Mac
[2022-09-24 21:58:59] US Computer Mac
[2022-09-24 21:59:01] US Computer Mac
[2022-09-24 21:59:03] US Computer Mac

User agent is macOS Catalina with an older chrome (Chrome 91)

ihucos commented 1 year ago

Testing a delay of 4.5 seconds before registering a visit. Assuming that bot would be usually faster. Let's see if that reoccurs. Not the first time I see this issue be the one I could pin it the most.

ihucos commented 1 year ago

I believe this does it.