Simply loading and initializing the code gives an error (obviously):
If this error is visible, the javascript wasn't reached because Google Analytics couldn't load.