Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › What is the impact of calling window.ga on July 1st during GA4 migration? › Reply To: What is the impact of calling window.ga on July 1st during GA4 migration?
-
After the switch to GA4, if you’ve not updated your code and keep using the old
window.ga
method for tracking, it won’t throw Javascript errors in the browser. The function would still technically be valid, but the custom events you’re trying to track wouldn’t be sent to your GA account, as the UA property would no longer be operational. To consistently track events, you need to migrate to the GA4’s event model structure and change your tracking setup accordingly.