add metrics for clicking upload

metrics that are required for dual device uploader. @kentquirk @jebeck  
Update: this needs to be `preventDefault`. A page refresh occurs otherwise, which will result in appearance of logging user out if user didn't select 'remember me'.