I’ve been trying to utilize the e-commerce functionality of Google Analytics for my website. I built several websites with different gravity forms in several pages of my website. These gravity forms have different fields or not identical with each other. I would like e-commerce of Google Analytics to extract data from the form fields and reflect those data on e-commerce reports. And I also want to assign values for every successful submission of the forms.
In trying to do this, I come across with the problem of modifying the tracking codes generated by Google Analytics. I need to modify these codes so gravity forms and e-commerce can work together.
I found a resource containing modified codes for the forms and e-commerce to work together: http://cutroni.com/blog/2008/07/02/google-analytics-e-commerce-tracking-pt-4-tacking-lead-gen-forms/. The form he used is created using javascript and HTML and the form is for ecommerce transaction.
But I want codes for GRAVITY forms that contain:
Name:
Email:
Telephone:
Address:
Subject with drop down options: Other, Send Information, Contact, Outlets
Does anyone knows or have ideas on how to modify these codes do that Gravity forms and e-commerce can work together?