Track Scrolling in a Page (Engagement) with Jquery and Google Analytics

December 20th, 2011 admin Location: Raleigh, NC, Topic: Web Design | Digital Media

So I came across a post by RTP Harry from http://runtingsproper.blogspot.com/2010/03/google-analytics-tracking-content.html where he explains how to track scroll depth in Google Analytics.

Since I was looking for exactly that for one of our projects I was excited to give it a go. However it didn’t work. And so I started in my usual journey of understanding why it wasn’t working, fixing it and then sharing it with all of our readers. So here it is:

Problem:

You want to track the engagement of your users and therefore you would like to see in Google Analytics if your users are scrolling down your pages and reaching at least 90% of the length.

Solution:

This could be done in several ways, however in this case probably the easiest solution is to use Jquery (client-side) and Google Analytics.

To begin, Google Analytics provides something called Event Tracking. This allows to track things happening in your website, blog or page. And that is exactly what we are after. Most of the time this behavior is used to track downloads of PDFs videos or clicks on links. This time we are going to track scrolling on a page.

Protected Content
Register Now
You need to register (FREE) or if you have already registered, be logged in to see this part of the post. Please Login here. If you haven't registered, you may register using the form below:

Thank you for your interest in registering with Merkados' Intermarketing Digital Media Resources & Strategy Information. In order to access some of our premium content and downloads you are required to provide your personal name and valid e-mail account. This information is only used by Merkados to send occasional information about additional digital media products, services and resources that may benefit you. We will never sell or share your information with anybody - ever.

Free - 0.00 USD per 3 months - Ongoing
Free Account - This account grants you access to all of our protected content - only for subscribers. This Free Account is for a limited time only. This account is activated monthly and it will automatically renew (for free) at the end of every month. You may decide to upgrade or cancel at any time.

 

| Lost your password

Related posts:

  1. Do you want to track your internal search queries with Google Analytics?
  2. The Google Analytics Cheat Sheet
  3. Need the IP address of your visitors in Google Analytics Reports? Is it possible?
  4. Avoid Content Duplication because of Google Analytics
  5. Installing Google Analytics in Drupal 6.6: Beginner’s Video Tutorial.
  6. New Google Analytics Interface
  7. VideoCast: Retrieving IP Addresses with Google Analytics
  8. Google Analytics and Google Sitemaps combined
  9. Google Analytics Proper Goal Setting without Canonical Redirects.
  10. Great Google Analytics Package