How to track button clicks in Google Analytics simply with jQuery/JavaScript?

3 min read

TLDR; Track & analyse button clicks (events) on website pages with Google Analytics by pasting these few lines of jQuery/JavaScript code onto your site under the Google Analytics code.

It’ll find most common button types and send clicks to Google Analytics for analysis.

The jQuery/JavaScript code for tracking GA button click events is here hosted on GitHub Gists:

https://gist.github.com/hozza/9da4d2bc39aa2610df5cf3dcc0656da7

Continue reading How to track button clicks in Google Analytics simply with jQuery/JavaScript?

Atilium Phone Pre-launch

2 min read

Although I’m sure most of my readers are already aware, I’ve been working with some excellent companies to provide simple micro-service-style tools for modern small-businesses and freelancers and today marks the day that our first digital business tool is released – although it’s still very early days, you can sign-up and start using it now.

Atilium.io – Small business tools.

We are all connected, to everything, at all times, without thinking about it via the internet – shouldn’t our work be too?

Atilium(pronounced at-illy-um) will bring our in-house tools to the public, helping small teams and individuals connect with their customer audiences easier and efficiently in a digital-first world where traditional services struggle to keep up and modern services are out-of-reach for the everyday person.

Atilium Phone – Professional phone numbers for small teams and freelancers.

Continue reading Atilium Phone Pre-launch

Hide – the Jekyll & Hyde Theme, WordPress Edition

2 min read

The evil art of appending CSS code.

Unfortunately CSS has a tendency to be endlessly appended, especially in large codebases and lazy or underfunded devs – this usually spells bad news for future development and a full refactoring is soon in order!

However, appended CSS has it’s time and place and this is one of them

A WordPress.org “Twenty Fifteen” theme modification to look just like “Hyde,” a fantastic theme for Jekyll (another website/blog software somewhat like WordPress).

Continue reading Hide – the Jekyll & Hyde Theme, WordPress Edition

tmux-hints.sh: The auto cheatsheet for vim, zsh, tmux etc.

3 min read

Although I’m comfortable using terminal – getting used to new shortcuts, key-combos and custom mappings can be a memory-game. I’ve ended up with many note files containing hints for all the things I should have remembered by now. There’s a better way...

Continue reading tmux-hints.sh: The auto cheatsheet for vim, zsh, tmux etc.