Form Abandonment Tracking WordPress Plugin

April 9, 2014
Laptop wordpress dashboard

Are you wondering how far a visitor gets in filling out your web lead form before giving up? I just made it even easier to track this in Google Analytics.

My new Form Abandonment WordPress plugin stems from work done on a few client’s sites, similar to how my other plugin (Featured Images in RSS Feeds) was created. The plugin tracks form abandonment to the form field level as Google Analytics events, including form submits. Each form will be tracked using its ID, with each field using its name, and each change of the field focus fires an event to Google Analytics tracking whether the field was empty (skipped) or not (completed). Submit is tracked as a separate event as well. In Google Analytics, these events will generate stats on number of fields completed, number skipped, and submits, with percentages, for each form on your web site. You can then create goals based on these events, and track conversion as well.

The javascript is loaded into the footer of the site, and uses jQuery to detect the form field focus change, and requires that the Google Analytics code is already added to the site somehow (I use and recommend Google Analytics for WordPress by Yoast). The code works with any form, including contact forms, newsletter sign ups, Salesforce web-to-lead forms, and the many form plugins available for WordPress including my favorites Contact Form 7, Gravity Forms, Ninja Forms, Formidable, Breezing Forms, Visual Form Builder, and more.

Download and start tracking forms yourself today:



You Might Also Like

1 Comment

  • Reply Jonathan Seidman June 15, 2014 at 2:43 pm

    Very interesting…Will give it a try on my next project…Thanks!

  • Leave a Reply