Use Google Analytics to track Google Form submissions

There is an alternative solution to track pageview in Google Analytics using an image impression inside the Google Doc which I have been using it in my spreadsheet.

Check out the following link for the guide of explanation on how this works:
Tracking-google-sheet-views-with-google-analytics

For example, using little Apps Script will include the sheet key and locale in the image url (to include this you your own project open you Sheet and then Tools > Script editor and paste the code in):

function getGABeacon(tid){
  var id = SpreadsheetApp.getActiveSpreadsheet().getId();
  var locale = SpreadsheetApp.getActiveSpreadsheet().getSpreadsheetLocale();
  return 'https://ga-beacon.appspot.com/'+tid+'/sheets/'+id+'/'+locale;
}

Then in the Sheet we can then use the cell formula like =image(getGABeacon("UA-48225260-1"))

tracking-google-sheet-views-with-google-analytics

EDIT

You can also build a tracked URL and pass it to the beacon on targetted page using this function

var trackURL = SpreadsheetApp.getActiveSpreadsheet().getUrl();

Probably you should just use Url shortner tool like https://goo.gl/ or https://bitly.com/ to get analytics on how many clicks are made and little bit of analytics like locations, browsers etc through them.


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