I was very disappointed when a popular Google Analytics WordPress plugin moved most of its features to a $200 / year plan. I looked for a free alternative because I had very little requirements: add the tracking code to the page and track page scroll. It’s barely a dozen lines of code using autotrack. I think I have checked all WordPress plugins that appeared after searching for “Google Analytics” and I found only ONE that met the requirement. Unfortunately, it was not compatible with Google Analytics (
analytics.js code), but only with Google Tag Manager (
Most of my Node.js projects require some build routine. As a fan of minimalism, for simple builds I used to write short scripts operating directly on
fs. In order to avoid duplication and simplify the process for future, I created a simple npm package. I described the required steps below.
For simple build tasks in Node.js I use a custom script. Let’s consider the following requirements:
- Create the
- Copy several other files.
While trying to enhance a Chrome plugin that translates text on pages (GitHub), I wanted to show two translations at once – of the pointed word and of the entire sentence or paragraph. Technically it was not hard except for the part of retrieving two translation results and displaying them in one popup.…