Google Analytics Experts

From EpikOne

How can I create a profile that only includes visitors who views 2 or more pages or spent a specific amount of time on the site?

Rating: +0

Positive Negative

There isn't any easy was to get this type of information within Google Analytics. You'll either need to use custom javascript or a server side script to count the number of page views and/or the time spent on the site. Once they reach the desired number of pageviews/time on site, you can then set a custom user segmentation cookie that is used within Google Analytics. Set the custom segmentation cookie you must call the __utmSetVar() javascript function somewhere on your page. You can then pass it any string or value you wish. This value will then be present in Google Analytics reports under the "User Defined" reports. You can then take it a step further and create a profile that only includes traffic that has the "User Defined" cookie set to a certain value.

How you go about implementing the call to the __utmSetVar() javascript function will depend on how your site is setup and the technical know-how of those within your organization. This type of segmentation can be done, it just takes a little elbow grease to get it there.

Example: A visitor has been on my page for 60 seconds. We create a javascipt timer to count how long a visitor has been on a page. When the timer hits 60 seconds we fire the __utmSetVar function and pass it the string "engaged-visitor":

__utmSetVar('engaged-visitor');

This will set a cookie with the value of "engaged-visitor" which will then be passed on to Google Analytics and display in the "User Defined" reports.

Go Back