Rather than "ga is undefined" the ga.whatever function would just return without sending any data.
Do any third-party script blocking systems do this?