Main navigation

Google Analytics Tracking for Forms

This sweet little plugin is going to make you a champion with the marketing department.

Now you can save tracking data from Google Analytics into any HTML form in WordPress, it works with hand coded forms as well as cool form plugins like Gravity Forms.

Plugin settings

If you then have your form sending data through to a CRM system like Salesforce or Zoho CRM, or even just sending the enquiry by email you will be able to see, right along side the enquiry the analytics tracking data like:

If you’re already using Google Analytics in WordPress then you are ready to start saving tracking data today. (If you’re looking for a great Google Analytics plugin we recommend this one)

For the nerds

a working example

Ok here’s how it works; analytics works by setting a cookie, this plugin allows you to capture the interesting parts of this cookie then add them as hidden fields to a HTML form, could be a form you’ve coded or one that’s been generated by a great plugin like Gravity Forms – doesn’t matter.

The plugin allows you to specify the name of the form that you’d like to use, as well as the page(es) that the form appears so that it doesn’t hamper performance of your WordPress install. Finally you’re able to set the names of the form fields that you would like to use.

A working example

In the screen shot opposite, this form is capturing enquiries for WordPress work. Along with the normal form fields of name and email etc.. you can see the hidden fields passed through from this plugin; the user originated from an organic Google search for the term “WordPress experts”.