Whatever you do, don’t forget your Error Handling

One of the most basic of elements of overall user experience is the one that’s most often forgotten and that is: handling website errors, especially the two classics ‘page not found’ (404 errors), and server errors (500 errors). There are so many sites with great examples of 404 error pages. ┬áBut any kind of meaningful […]

Read more
What Does a Goal Sound Like?

Many’s the time I’ve been asked if its possible to play a sound when a Goal happens in Google Analytics. Wouldn’t that be nice we all think, but I’ve never thought it feasible. Until now. And it’s really quite simple (credit for the best solution goes to this post). Note that this solution work only […]

Read more
GTM: using ‘matches CSS selector’

Google Tag Manager is relatively straightforward. You define Triggers that fire Tags that say create events. Your Trigger definition is usually easy too. ‘I want to fire a Tag when a link is clicked on, and the link text is unique like ‘View more blue widgets”. But what if it’s more complex? If the only […]

Read more
A/B Testing with Google Optimize and Tag Manager

Now that Google Optimize is available to the masses, I was keen to try it for my A/B experiments. Perhaps the best thing about A/B testing Optimize is that variant pages can be created with a visual editor, rather than having to create a second page. Be aware that what is described herein isn’t the […]

Read more
Track Meta Refreshes to external sites using GTM

Google Tag Manager is fine if you want to track standard outgoing links. But what if the link is contained in a Meta Refresh? And you only want to capture certain meta refreshes? This was my challenge the other day! Set up a new variable in GTM, call it something like Get Meta Refresh Variable […]

Read more
Beware referral traffic from secure sites

Beware referral traffic from a secure site! Why? Because Google Analytics will show it as Direct. Its part of the process of anonymising secure traffic – the referrer gets stripped out of the header, so without a referring URL, it’s treated as Direct by GA. If you have any control over the link from a […]

Read more