Google Analytics

Posted on by Phillip

Fix Duplicate Ecommerce Transactions in Google Analytics

A relatively common issue with ecommerce tracking in Google Analytics is that transactions are often counted more than once. This is not really caused by an error in Google Analytics. Rather it’s a problem in the ecommerce platforms and the tracking implementations. For the most part, Google Analytics will trust that you send valid and correct data. So it doesn’t try to correct anything. But just like it’s possible (but not allowed) to log PII (Personally Identifiable Information) in Analytics such as email addresses, it’s also possible to log the same transaction multiple times. Read more →

Posted on by Phillip

How to find Dead Pages in Google Analytics

Once in a while, I need to identify so-called dead pages on a website - that is, pages with no pageviews. Usually, this is necessary when migrating a website to a new CMS. In that case, it’s useful to know if there are pages that can be safely deleted/omitted (just remember proper redirects). A similar use case is when cleaning up a website in order to remove unnecessary content. However, since Google Analytics only track pages that are visited, it’s not possible to find dead pages in Google Analytics alone since those pages will not show up in any reports. Read more →

Posted on by Phillip

Track Real Time on Page for Bounces and Exits with GTM

The Time on Page metric is probably one of the most misunderstood metrics in Google Analytics. Google Analytics measures the time on page for each page, but can only do so by measuring the elapsed time between two interactions. The first interaction is the timestamp of the initial pageview, and the second interaction is usually the timestamp for the next pageview (or an event). So for sessions with just one pageview (i. Read more →

Posted on by Phillip

Which Ad Blockers are blocking Google Analytics?

Ad blocking software has gotten a lot of attention recently. Not because it’s new, but likely because it’s being used more widely. Studies put the ad block penetration at up to 37% or even higher - it depends on country and other factors. Ad blockers are intended to block those annoying (remarketing) ads that follow you around the net. But are ad blockers also affecting our ability to collect traffic data, e. Read more →

Posted on by Phillip

Track Anything in Google Analytics with Event Listeners

There is one thing I hear a lot when I’m giving talks about Google Analytics: “I didn’t know Google Analytics could track that!”. Put another way, I just as often get a question like “Could you make Google Analytics track [insert anything here]?“. The short answer is always, “Yes, you can track that in Google Analytics”. Basically, you can track anything that goes on inside a browser. If it happens within a browser (a mouse click, a keyboard key click, a mouse movement, scrolling) you can track it. Read more →

Posted on by Phillip

Track Device Orientation changes in Google Analytics

Did you know you can detect and track device orientation changes in Google Analytics? That is, if a mobile or tablet user switches between portrait and landscape mode? Well, of course it’s possible (basically anything that happens inside a browser can be detected and tracked in Google Analytics). In a previous post, I wrote about how to detect and track the browser’s viewport (which was made almost obsolete by the new native Browser Size dimension). Read more →

Posted on by Phillip

How to get Google Analytics data in Excel

Every website owner and web analyst reaches a point where there’s a need to get Google Analytics data in Excel. While the Google Analytics web interface is very user friendly and easy to work with, it quickly becomes an obstacle when doing more advanced analysis. Very often, we also want to do the same analysis from month to month for reporting purposes. Or maybe we need to merge Google Analytics data with other data - and Excel then gives us more tools than the Google Analytics interface. Read more →

Posted on by Phillip

When and How to use Google Analytics Annotations

Google Analytics Annotations are a built-in feature of Google Analytics. It lets all people with access to Google Analytics account add comments to nearly all reports (at least those with charts). Everybody should use annotations to comment on traffic changes, traffic spikes and other important events. This can save you a lot of time. You won’t have to do the same data dives every time you wonder why something happened to your traffic. Read more →

Posted on by Phillip

Use Screaming Frog to check for Google Analytics

If you see self referrals appearing in your Acquisition reports in Google Analytics, or if you are performing a Google Analytics implementation audit, one of the first steps is to make sure that the Google Analytics Tracking Code (GATC) is present on all pages - Screaming Frog will help you do that fast and easy. In this post, I’ll show you a step-by-step guide for checking your website for pages that don’t have the GATC installed or don’t have the Google Tag Manager snippet present. Read more →

Posted on by Phillip

Event tracking example for Google Analytics with autotrack

This post provides a complete event tracking example so you’ll be able to set up and configure it on your own. I’ll be using the autotrack feature, which is a plugin developed by Google Analytics released early in 2016. This plugin allows website owners to easily set up event tracking - even if your knowledge of HTML and javascript is limited. When to use event tracking First, it’s important to know when you should use event tracking. Read more →