gaAddonsgaAddons - Google Analytics Addons by Stéphane Hamel

Documentation: Calls Reference

_formAnalysis

Track the last field where the cursor was so we can find useful information such as the field impacting form abandonment the most, wether people are leaving the form without filling any fields, and form completion rates..

Caveat

The current release supports only one form on a page. By default, only the first form with a NAME attribute and more than minFields input fieldswill be tracked (excluding hidden fields and buttons). If there are multiple forms on a page use the formList option to specify which one should be tracked. A future release might support multiple forms on a page - depending on the level of interest.

_gaq.push(['_formAnalysis', {
	onBounce: true, // optional boolean
	minFields: 3, // optional integer
	formList: null, // optional string
	selector: 'form' // optional jQuery selector
	}]);
      

This call can be used only once per page

Parameters

onBounce true|false
Form analysis uses an event to track the last populated field or empty forms. Sending an event will affect the bounce rate. Form analysis can be disabled for the first page view of a visit by setting this option to false..
minFields integer
By default, any form with more than the specified number of fields will be automatically tracked.
formList string
If you want to make sure to track a specific form, specify its name with the formList option. If you have three forms on a page, FORM NAME='uselessForm' , FORM NAME='myForm' and, FORM NAME='otherForm' and you want to track only the second one, set formList to "myForm'.
selector 'form'|jQuery selector
Advanced use only: allow you to specify an alternative jQuery selector