Hi,
Media Library files aren't tracked. Web Analytics tracks only the files managed by the CMS and served using the Kentico
CMS GetFile.aspx script.
If you want to track the downloads, you can add another query string parameter to the link to the file in media library transformation, which will be unique per file. You can get it from the Media_File table using our API - for example MediaLibraryContext.GetCurrentMediaFile() - that returns MediaFileInfo, which contains complete media file metadata and identifiers).
Then, you would set the marketing campaigns in web analytics and you could see which files were downloaded -
devnet.kentico.com/docs/devguide/tracking_marketing_campaigns.htm.
Best regards,
Juraj Ondrus