How to Track File Download
On many websites, you want to track when visitors download your brochure, photo, software, etc. MVMCloud Analytics automatically tracks these clicks as downloads and reports them in the report under Behavior > Downloads.
MVMCloud Analytics will automatically detect a download as a click on a link that ends with one of the following file extensions:
7z, aac, apk, arc, arj, asf, asx, avi, azw3, bin, bz, bz2,
csv, deb, dmg, doc, docx, epub, exe, flv, gif, gz, gzip,
hqx, ibooks, jar, jpg, jpeg, js, mp2, mp3, mp4, mpg, mpeg,
mobi, mov, filme, msi, msp, odb, odf, odg, ods, odt,
ogg, ogv, pdf, phps, png, ppt, pptx, qt, qtm, ra, ram, rar,
rpm, sea, sit, tar, tbz, tbz2, tgz, torrent, txt, wav, wma,
wmv, wpd, xls, xlsx, xml, z, zip
You can also force MVMCloud Analytics to count a click as a download using a specific CSS class for this link. Check out how to “Force a click on a link to be registered as a download” in Javascript Tracking Client Guide.
To increase download tracking accuracy, consider enabling the use of navigator.sendBeacon(), see how to do this in this guide.