   play rom, extension
   .catch (e) ->
     console.error e
+    tracker.sendEvent 'error', e
 
 load = (file) ->
+  tracker.sendEvent 'file'
   return if not file instanceof Blob
   draghint.classList.add 'hidden'
   reader = new FileReader()


window.addEventListener 'drop', (event) ->
  return if draghint.classList.contains 'hidden'
  event.preventDefault()
  draghint.classList.remove 'hover'
  if event.dataTransfer.files.length > 0


loadData = (filename, buffer) ->
  draghint.classList.add 'hidden'
  tracker.sendEvent 'play', filename
  extension = utils.getExtension filename
  rom = null
  if extension is 'zip'
