Wrap `ga` call inside a `try` block incase it's undefined.