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.

Platinum Member - 500 USD per 6 months - for 1 time
Platinum Member - Access all of our content - including Private Material.

 

| Lost your password

About the Author

Alex Centeno MBA., is an international creative director and digital media strategist. Currently residing minutes away from the Research Triangle Park (RTP) - North Carolina, and with over 10 years of interactive marketing training and experience, Alex leads Merkados' international clients to maximizing their online business strategies. One of Alex's biggest strengths is his world-class capacity to effectively combine interactive marketing, digital media design and web development.

You may find further information about Alex Centeno MBA. at: and Twitter.

Sobre el Autor

Alex Centeno MBA., Es un director creativo y estratega de medios digitales reconocido internacionalmente. En la actualidad reside a tan solo minutos del Research Triangle Park (RTP) - Carolina del Norte, y con más de 10 años de entrenamiento y experiencia en marketing interactivo, Alex lidera a los clientes internacionales de Merkados™ para maximizar sus estrategias de negocios en línea. Una de las mayores fortalezas de Alex es su capacidad global de combinar de manera efectiva, mercadeo interactivo, diseño de medios digitales y desarrollo web.

Para más información sobre Alex Centeno MBA. puede visitar: y Twitter.