Integrate Analytics in the DocuGen view

It will be nice to have analytics and stats to keep track of the generated documents in our views