Data Analysis

Pageviews and Unique Pageviews in Google Analytics

You’re probably familiar with the All Pages report in Google Analytics. This report tells you basic data about all of your pages. Things such as the number of entrances (landings), exit rate, bounce rate and so on. But the two first metrics – Pageviews and Unique Pageviews – often lead to confusion. Because, what’s the difference between Pageviews and Unique Pageviews?

This is a really short post since the answer is simple. It’s not even a post. I’ve categorized it in WordPress as an “Aside”. Which I think is just a quick note. But back to the difference. I get the question often enough, so here goes.

The Pageviews metric shows the total number of times a specific page is viewed. Even if your users view it multiple times by refreshing the page or by visiting it several times. So this is the total.

On the other hand, the Unique Pageviews metric is always going to be equal to or lower than the Pageviews metric. This metric only counts one per pageview of a given page per session. So even if a user views a page several times within one session, this only counts as one unique pageview.

So, Pageviews are the total – even if a user visits the same page multiple times within one session. Unique Pageviews are the total number sessions in which a page was viewed.

Data Collection

Detect and track iPhone models in Google Analytics

Ever since the iPhone 4 came out, I’ve been a bit annoyed with the way mobile (Apple) devices are tracked in Google Analytics. While we get plenty of device information for other brands, Apple has (perhaps unintentionally) made it difficult to detect and track iPhone models. To make a long story short, Apple devices usually only identify themselves as iOS devices without any specific model information. Basically, iPhones introduce themselves to Google Analytics by saying “Hi, I’m an iPhone” instead of “Hello, I’m an iPhone 5”. Which is what we’re going to change with this post. Continue reading

Inspiration

Choosing the Best Heatmap Tool for Mouse Tracking

If you’re a regular visitor on this site, you might have noticed that I’ve been running a poll to ask visitors about their preferred heatmapping tool for mouse and click tracking. Now, a heatmap tool is a great companion for Google Analytics. Because, while Google Analytics often tell us where something goes wrong, it doesn’t really tell us the actual problem.

This is when a heatmap tool offers some more qualitative data. If analyzed thoroughly, you’re able to determine if you have problems with your site. Those problems often relate to page layout. Maybe you’re using distracting images, too much text or call to actions without proper visibility.

There is a tonne of different heatmap tools on the market. Some of them are dedicated solutions; they simply do heatmaps of mouse movements and clicks and taps and nothing else. And other tools come with a bundle of different analysis features such as form tracking, polls and even survey modules. So which should you choose? Well, instead of doing a full comparison and loads of free trials, just checkout the rest of this post. Continue reading

Inspiration

Chrome Extensions for Google Analytics & Google Tag Manager

Implementation and auditing of Google Analytics and Google Tag Manager is essential when working with web analytics. After all, what good are reporting and analytics if you can’t trust your data? Usually, when setting up GTM and Analytics on a website, you’ll find yourself checking source code for the correct dataLayer or using real-time reports to see if data comes in. But Chrome Extensions for Google Analytics and Tag Manager makes it much easier.

The thing is, the whole implementation and debugging part is a cumbersome process. So is it possible to optimize that process? Well, yes – say hello to Chrome Extensions. Chrome Extensions are small plugins for the Google Chrome browser. And some of them are specifically for debugging the setup of Google Tag Manager and Google Analytics. So in this post, I’ll introduce you to my list of the most essential and, IMHO, the best extensions for Google Analytics and Google Tag Manager. Continue reading

Data Collection, Inspiration

Event Tracking for Mouseover/Hover on Element for X Seconds

A client of mine recently asked me to track ‘mouse interaction’ with an iframe that they embed on several pages. By ‘mouse interaction’, the client basically meant that they would like to track whenever users hovered their mouse cursor over the iframe for a certain amount of time. I’ve previously posted that you can track any mouse or keyboard interactions with Google Analytics. As long as they occur within the browser.

Luckily, there’s a widely supported browser event called ‘mouseover‘. The mouseover event fires when a user moves the mouse cursor over a specified element – for instance, an iframe. But it can be used on any visible HTML element on the page. So, by combining this event with a timer, it’s possible to push a dataLayer event to Google Tag Manager. And then use that event to send an event hit Google Analytics.

In the end, we’ll end up tracking Google Analytics events whenever a user hovers his or hers mouse over our specified element. Continue reading