Added analytics event logging to PDF book viewer