Web Analytics
Here you find 19 blog posts about Web Analytics.
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.
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.
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.
How to Track Traffic from Facebook Likes, Send or Comments in Google Analytics
- 12.07.2011
OK, so you have implemented Facebook Like, Send or Comments on your website, and you see from your referral data in Google Analytics that you are getting traffic from Facebook. But are that traffic caused by Like Buttons or Comments? Referral data will not show you this.
In this blog post I explain how you can get better insight into your Facebook traffic by tracking traffic from Facebook Likes, Send or Comments as campaign traffic - and of course, how to do it.
How to Track Facebook iFrames with Google Analytics
- 16.05.2011
When Facebook launched Facebook iFrame Tabs for Pages, tracking visitor interactions, goals or whatever inside the iFrame in for example Google Analytics suddenly seemed very easy. A common answer in forums when people asked about this was "just add your regular Google Analytics code to your iFrame page".
Unfortunately things aren't that easy. If you just add your regular Google Analytics script to your iFrame page, you are missing 2 important things:
- Tracking traffic sources to your Facebook iFrame Tab is not possible
- Facebook will be the referral for all the traffic to your Facebook iFrame Tab
- Visitors using Internet Explorer will not be tracked
In this blog post I show you how these problems can be overcomed.
How to Track Multiple Links to the same URL automatically in Google Analytics
- 05.02.2011
If you have multiple links on a page pointing to the same URL, you are not able to identify in Google Analytics which link were clicked. Neither the In-Page Analytics report or the Navigation Summary report (or what somebody calls a Next Page report) will show you this.
The usual method to overcome this problem is to manually tag links, which is (normally) a time consuming implementation method.
Because of this I have created a script that is easy to implement and configure. The script will automatically track which link the user clicked on, the Anchor Text of the link and the Link ID (number). The information is stored as Events in Google Analytics.
And as a "bonus" I have included a Excel Spreadsheet using the Google Analytics API that makes the report more readable.
Website Optimizer Asynchronous Integration with Google Analytics
- 07.11.2010
Best practices for running a testing experiment is always to integrate the test data into your web analytics tool for further analyzis.
Since Google Analytics now is using Asynchronous codes and Google Website Optimizer is not, they aren't "talking" the same code language anymore. Because of this I have rewritten the tracking part of the Website Optimizer codes to "speak" Asynchronous.
Free Excel Goal Funnel Report for Google Analytics
- 11.10.2010
Have you ever came across Google Analytics accounts where Goal Funnels are missing or wrongly setup, and been wondering how you could analyze and track these missing goals easy?
Or you have been staring at the Goal Funnel Visialization report in Google Analytics and thought "Why can't I use Advanced Segmentation for this report?".
Or perhaps you just need to create and analyze conversion funnels on the fly?
My answer to all these problems was to create a Excel Spreadsheet using the Google Analytics API, which means that you can log into Google Analytics inside Excel and do Goal Funnel Tracking on the fly.
Excel Feedback Form Reporting using Google Analytics API
- 27.09.2010
Recently I released my Free Feedback Form for Google Analytics. Although it is pretty easy to drill down into the Feedback Form data, exporting the data and putting together a useful report can take some time.
Because of this I have made an Excel sheet using the Google Analytics API which means that you can log into Google Analytics inside Excel, and your Feedback Form Report will be automatically generated.







