We all know that people use ad blockers and thus you probably have more visitors than the numbers show (solution: custom fetch request or server side analytics). Well today I found out Google Analytics with all it's amazing power isn't doing much to mitigate bots.
Check this out. On the 15th of May I was supposed to have 38 users.

I had put a custom fetch request into that page and sent the data to Bashboard.
const previousVisit = localStorage.getItem('log-0-blog')
if (!previousVisit) {
localStorage.setItem('log-0-blog', true)
fetch('https://bashboard.io/cpconf/users/funnel', {
method: 'POST',
body: JSON.stringify('0-blog')
})
}15th of May actually had 20 visitors!

So either my localStorage trick is more faitful than Google Analytics megascript, or the problem is a lot of bots don't run fetch() commands. They do however run JS otherwise Google wouldn't see the visitor either.
If you know what's up with this - let me know in the comments (or IH comments).
Subscribe to Krister's coding adventures
Get the latest posts delivered right to your inbox
Welcome back! You've successfully signed in.
Unable to sign you in. Please try again.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info is updated.
Billing info update failed.

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.