add data attributes for failed download tracking

also enables failed download tracking