Posts with Tag

Netlify

Recently I have been annoyed when my weekly WebPerformance Report email from WebPageTest shows a failure on Compress Transfer.

WebPageTest Optimiation Summary - Compress Transfer - Result D

This failure, reported in red was done by just one small file… favicon.ico.

Read More about Serving GZIP compressed Favicon with Netlify
Blog WebDev
Adding Mastodon discoverability by e-mail address
Published
Updated
Read Time 3 min.

Through the “interesting” days, when people started migrating into Mastodon, I found quite interesting toot from one of its users where he mention adding Mastodon discoverability for any domain using WebFinger Protocol.

I have been quite interested in how to implement this on my end, as I prefer people to discover me with my long-standing email address, rather than the newly created username on the selected mastodon server.

As my website is hosted on Netlify I decided to check if I can implement this. Here is how it goes.

Hugo Blog
A "little" side project – New Hugo based website – YummyRecipes.uk
Published
Read Time 7 min.

Designing a website is not a thing that I am doing for a living. My day job is giving me the security needed, and everything else is a development of myself – to see what I can do and extend my skills. If at some point these “little” skills can change into something bigger, that’s great.

See my LinkedIn profile if you want to get in touch.

When I made websites, I discover new ways of doing the same things – improvement. I am not doing things (writing websites) in the same way, that’s the main thing. A new website is a new approach. I am reusing well-working elements, but still, it’s like making everything from scratch, and I like it.

With every new creation, I discovered ways how to improve projects that I have already live, and with this one there was no exception.

WebDev
A very Minimal Google Analytics 4 Snippet
Published
Updated
Read Time 10 min.

When Google announced that they would force us to move away from Universal Analytics to Google Analytics 4 I wasn’t happy. Due to a lack of alternatives in minimal analytics, loading official (bloated) tracking code that weighs 171kB (in my instance), which is liable for blocking by various AdBlockers, wasn’t something that I had been looking forward to.

I started searching for a solution. Due to the lack of it, I decided, by hit-and-miss approach, to create my own, and I think I did it. It currently weighs 3kB minified (version 1.10). Its main purpose is to track page views (page_view, session_start and first_visit) on our website in Google Analytics 4 property. Since version 1.06 it detects and tracks site searches (view_search_results), from 1.07 search query (search_term), from 1.09 scrolls (scroll) capturing scroll events each time when a visitor gets to the bottom of a page (90% and below) and from 1.10 it got ability to track <a href links to files with specified extensions (see below) and all these links where there is a download attribute specified independently of the extension of the file.

WebDev
Google Universal Analytics property is shutting down. Here is what you need to know.
Published
Updated
Read Time 7 min.

On the 16th of March 2022 Google announced its plans for a shutdown of Universal Analytics property and replace it fully with Goole Analytics 4 (v4) that been in the market since late 2020.

Google like to kill off their services. Luckily, this is not about shutting down Google Analytics but only the method, how analytics data are collected from websites. If you have been using Google Analytics for some time, then it’s more likely that you have been using Universal Analytics. You will know that by looking at your tracking code that will carry UA- on front of the numbers.

Analytics in its 4th version (UA is 3rd) has been developed for some time, but it wasn’t adopted as quick as Google could expect (or want), this is why they forcing a change by shutting down one in favour of another.

WebDev
Prevent Google Analytics from being blocked by AdBlocker
Published
Updated
Read Time 7 min.

You may say what you want about Google Analytics, especially about how “they” are, apart from displaying data for you, using data gathered for “their” business purpose (forget about privacy). If you are a website owner and you are looking for a reasonable tracking method for your visitors, this is the solution that you will pick in the first place.

The problem with Google Analytics is that their tracking script weights a lot and that is slowing down your website.

Hugo
Andrews Fasteners going Hugo!
Published
Updated
Read Time 8 min.

I decided to move yet another website from WordPress to Hugo. This time the website has much more traffic than any other “of mines” (the ones that I am managing).

The main reason was speed (but also recent discussion about the environment and impact of technologies on it).

Categories