In import_logs.py I added an additional line that includes the azw3 file extension:
DOWNLOAD_EXTENSIONS = ( <default filetypes> 'azw3 epub mobi' ).split()
The reports generated from this script will mark epub and mobi as file downloads, but not azw3.
In df72733fe1ee6ee3d518d59984a7b49f0da04a0b: Fixes #4786 Adding ebook formats to piwik.js download tracking and log importer
I appreciate how quickly you updated for ebooks! However, is it possible you can confirm the bug I reported with import_logs.py doesn't occur? Because the change you made to the file is exactly how I made it, and azw3 files are not being flagged as downloads. I ran the script twice on the same machine, 2 different files, same results both times, but that was with 2.0.3.
In 47cc9a2dd816db79db97a397160af0d34d29e687: Refs #4786 Adding forgotten white space.
Cheers for the follow up!