Added exception catching for google analytics
Added response text to error output