| NEK-RA
Cloudflare Web Analytics added.
Author: NEK-RA
Posted: 6/23/2021, 11:22:31 AM
Tags: Project update

Info

Today I'm adding Cloudflare Web Analytics on this site.

Github Pages, used by this site is a static hosting, so there's no any backend here. Everything is loaded into your browsers and magic of Nuxt.js works inside your browsers. I still want to keep this site at Github Pages, but sometimes it's interesting to me if there are any visitors and how many they are.

To get more info about this Cloudflare's service visit https://www.cloudflare.com/web-analytics/

Shortly

Also you can see which data is provided by CF Web Analytics here - https://developers.cloudflare.com/analytics/web-analytics/understanding-web-analytics. There are 4 links points to pages where explained each part of analytics.

For those who don't want to "take part"

Nevertheless analytics is still analytics, no matter who is service provider. Some of us (may be even most) don't like take part in analytics and tries to block them anyway :D So that's special for you - if you want to block Cloudflare Web Analytics, you need to block exactly this URL:

https://static.cloudflareinsights.com/beacon.min.js

Or probably even forbid requests to static.cloudflareinsights.com, but I don't realy know if there exists something very important scripts, which can brake any other sites. So preferred way to block is to block direct link to script

Finally

Currently this script added as experiment only. But if this will work as expected - I'll keep CF Web Analytics active. If it will show any interesting info, it maybe posted :D

Comments by Disqus