Detect debug mode for disabling Google Analytics