What do you do when…You create a tag via Google Tag Manager, use the GTM previewer to debug it, GTM tells you “that’s working!” – but when you publish the new container and try to view the results of the tag, it just isn’t pulling in the right data or any data at all?...
Analytics Posts
How to encrypt data capture using Google Tag Manager
When I attended CROElite17, one of my favourite points someone (forget who - if it was you please let me know, I’ll give you a link) raised was that you can use Google Tag Manager to pull in form inputs when an error occurs, and then send that data to Google...
Key statistical definitions for AB Testing
AB Split Testing investigates the impact of changing typically one aspect of your site, to discover how much uplift implementing such a change you could have on your conversions or click-throughs. There’s one word in that previous sentence that has more importance...
How to handle URL query parameters in Google Analytics
Do you ever look at your Google Analytics page report and see that your pageviews report has many items for the same page, and you have to filter to get the “real” total value? The screenshot above shows that /page-1 has 137K pageviews, but a filtered view (including...
The power of R: Google Analytics and other assorted APIs
If you’re reading this post, you’re probably familiar with data. And if you’re familiar with data, you’ve probably at least heard of R, that great statistical programming tool. We’re going to focus on Google Analytics in this post, but these skills are transferable to...
How to split traffic in Google Analytics by local time of day using Google Tag Manager
In Google Analytics, you can analyse data based on time of day. The time of day is based on the time zone you have specified in your admin area. This is fine if 95%+ of your traffic comes from people in the same time zone as you, but what if you have customers across...
GDPR & PECR – The impact on cookies and tracking
While there is quite rightly a huge focus on GDPR and business preparation for it, there is another piece of legislation, which is closely related and plans to roll out a reform on 25th May 2018; PECR (Privacy and Electronic Communications Regulations). A first draft...
How to use Google Tag Manager to create Content Groupings
In the past I’ve written in depth about how to create content groupings and why they’re necessary to get the most information out of your website. There are three ways to create content groupings: tracking code, extraction, and rule defining. This article will be...
Understanding Google Analytics ‘Time on Page’ and ‘Session Duration’
In many Google Analytics reports, you’ll see metrics called ‘Time on Page’ or ‘Session Duration’. If you’re asking “What does that mean”, with any metric you can hover over the “?” beside the metric name to understand what it is. Time on Page: The average amount of...
What we know about gtag.js, the new Google Analytics Global Tracking tag
In 2017, Google added some sneaky articles to their developer website and support website about a new analytics tag called gtag.js: Add gtag.js to your site Migrate from analytics.js to gtag.js Basic web-tracking set-up (includes many “with gtag.js” articles): What do...