Are you a Snap! by Lectora user?  Snap! offers quiz and survey modules for integration into your published documents.  However, if you don't have access to a database, the ability to save and aggregate survey data can be difficult.  Below are instructions (in draft form) and a link to a PHP script that will save Snap! survey data to a Google Docs Spreadsheet that is created through Google Forms.

Script and downloadable PDF here