Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > web analytics - tracking specific media library file downloads by file type View modes: 
User avatar
Member
Member
adeluca-ecentricarts - 1/4/2012 1:45:06 PM
   
web analytics - tracking specific media library file downloads by file type
Hello,

I've reviewed the web analytics module in detail and I would still appreciate implementation suggestions for our tracking requirements. Currently we require the ability to track file downloads of links to files throughout the site stored in kentico database (file upload control) or media library using permanent urls. The links are generated within rich text editor linking to a media library item, and in a doctype transformation. We require the ability to track based on file type (ex. number of pdf downloads) and also the frequency of downloads for each file.

Has anyone done this before? We are also exploring ways to use google analytics to track file downloads instead despite having to use javascript.

Thanks

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/5/2012 5:55:52 AM
   
RE:web analytics - tracking specific media library file downloads by file type
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