Ensure noninteractive mode for tracking analytics events

Based on a comment here:  http://davidwalsh.name/track-errors-google-analytics