added event tracking for downloads