Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use Google Analytics to track Google Form submissions

I'm using Google Forms (a Google Doc spreadsheet with an automatically generated form that the user can fill in to submit their details) and would like to track the submission of the form as a virtual pageview in Google Analytics so that I can measure conversions. Does anybody know if this is possible?

like image 891
andygeers Avatar asked Feb 04 '11 20:02

andygeers


1 Answers

While Crayon Violent is correct about the built-in capabilities, there is a viable option: If you're able to host the Google Form HTML on one of your own pages, you can treat it like any other form (you can literally copy and paste the form HTML from the form page). As long as you leave the inputs unmodified, and the form action remains as its presented, it will post successfully to the form, regardless of where it is hosted from. (You can remove the styling elements if you wish.)

You can see a sample of that here: http://jsfiddle.net/PVBqX/2/

And you can see the data record just fine in the Google Spreadsheet here.

And, if you use Firebug or Webkit inspector, you'll see that the virtual pageview is sent: Screenshot of __utm.gif hit generated

like image 127
Yahel Avatar answered Oct 20 '22 09:10

Yahel