fix for pure offline use, please don't use google analytics when we're using the file: protocol