In our small business we need to know if a user has opened a document held in google drive.
I would like a Google script to run as a service in our Google domain and log to a fusion table every time a document from drive is accessed by a user.
The log in the fusion table should specify
-The document ID
-The time it was opened
-The type of the document (text, spreadsheet, etc)