7 ms·
If GA is unreachable then window.ga wouldn't be defined. The author is running an extension that specifically injects code to make window.ga into something une
by suprfsat 5y ago
If GA is unreachable then window.ga wouldn't be defined.
The author is running an extension that specifically injects code to make window.ga into something unexpected, and then complaining about it.
- tyingq 5y agoYes, though again, throwing out a checkout session for anyone running that extension isn't wise. "If GA is unreachable then window.ga wouldn't be defined." The legacy code you insert for GA does: var ga = document.createElement('script'); first, then loads GA. Wouldn't that have the same issue if GA is unreachable?
- FalconSensei 5y agoDoesn't matter. Anything that is not the main goal (in that case, the checkout process) should be isolated and not break it.