Web Analytics

Here you find 23 blog posts about Web Analytics.

How to Track Printed Pages and Print Method in Google Analytics

  • 02.04.2013

It can sometimes be important to know if your content has been printed. The usual way to track this (in Google Analytics and other web analytics tools) is to use a "Print button" with an onclick event that sends the data to the tool.

However, not every website has a print button, and there are many other ways to print a page:

  • Printing from the Browser Menu
  • Right Click and choose Print from the Right Click Menu
  • Ctrl+P (Windows) or Cmd+P (Mac)

In this blog post I show you how to track printing, and what method used to print the page.

How to Track if  your Content are Printed in Google Analytics

Tracking Form Field Errors in Google Analytics using jQuery

  • 17.02.2013

An important part of optimization is to remove friction/problems/errors from forms. To help you identify problem areas, tracking Form Field Errors is essential (but still so few do it). I have doubled funnel conversion rates just because of this type of tracking in Google Analytics.

Tracking Form Field Errors in Google Analytics using jQuery

Tracking form field errors can give you information about:

  • Validation errors or too strict validation
  • Usability issues
  • Wording issues

In this blog post I share how this tracking can be done using jQuery.

How to Track if Visitors are Copying Text from Your Website in Google Analytics with jQuery

  • 27.01.2013

People are copying my content, and I think it's great. I have even done some extra work to make it easier to copy codes/scripts I have published on this blog based on feedback from some visitors.

ut I have also blog posts that don't include any scripts. My question was therefore, did visitors find something interesting in those blog posts, and if yes, so interesting that they would copy some of the content?

How to Track if Visitors are Copying Text from Your Website in Google Analytics with jQuery

Since I didn't find any solutions that suited my needs, I did put together my own cut/copy/paste tracking script using jQuery.

Tracking Removed Products from the Shopping Cart in Google Analytics with jQuery

  • 13.01.2013

Parts of the buying process on an Ecommerce site are visitors removing products from the shopping cart.

Tracking Removed Products from Shopping Cart in Google Analytics with jQuery

In this blog post I demonstrate how tracking of this in Google Analytics can be done using jQuery.

Tracking Add to Cart in Google Analytics using jQuery

  • 05.08.2012

On an Ecommerce website, there are a serie of micro-conversions that have to be completed before the macro-conversion, the sale, can happen. Adding the Product to Cart is one important micro-conversion. If you aren't tracking, analyzing and optimizing this, you are missing insight in buying behaviour, and money are most likely left on the table.

Tracking Add to Cart in Google Analytics using jQuery

Tracking this is often done by adding scripts to the Add to Cart Button (that may take some time/cost extra money since you will probably have to involve other people to do the programming/implementation). To get around this problem I track this with some help from javascript and jQuery.

In this blog post I show you how I do it.

Tracking Content Scrollers, Scanners & Readers in Google Analytics

  • 04.03.2012

A couple of weeks ago Justin Cutroni wrote 2 awesome blog posts about Advanced Content Tracking using Google Analytics.

Tracking Content Scrollers & Readers in Google Analytics

I have been using his method with some small tweaks since before he published these blog posts, and since I have been asked if I could publish the script with my tweaks - here it is.

Behavioral Targeting using Facebook Connect & Google Analytics Custom Variables

  • 31.01.2012

In this blog post I explain and demonstrates how to use Facebook Connect as a Social Login function, how to track Facebook demographic data like Gender and Age Group, and how to do Behavioral Targeting based on this data.

Behavioral Targeting using Facebook Connect & Google Analytics Custom Variables

I will not explain all my code in this blog post, it's simply just too much going on. However, you can download all necessary code at the bottom of this blog post.

Tracking Internal Search using POST request method in Google Analytics

  • 02.01.2012

Since Google Analytics is relying on query parameters in the URL to track Internal Site Search, Internal Site Search solutions that are using the HTTP POST method can't normally be tracked without some help from IT and server side implementation/programming. This because HTTP POST don't send any query parameters. And based on my experience, it can often take some time to get something like this implemented.

Tracking Internal Search using POST request method in Google Analytics

I needed a quicker solution, and wrote a simple javascript/jQuery solution that also tracks Zero Result Searches.

Javascript Redirect & Google Analytics Cross Domain Tracking

  • 24.09.2011

Recently I had to write a javascript redirect function that supports Google Analytics cross domain tracking. The solution I came up with is presented in this blog post.

Tracking Facebook Likes, Share, Send & Comments as Social Engagement in Google Analytics

  • 07.08.2011

There are already posted "tons of articles out there" about how to track Facebook Likes, Send & Comments as Social Engagement in Google Analytics, but since I also uses my own blog as a reminder of how to do things and a "script bank", I decided to write this blog post nevertheless.

Tracking Facebook Likes, Share, Send & Comments as Social Engagement in Google Analytics

1 | 2 | 3 |