Website

Do I need to remove the old Universal Google Analytics scripts on the website if I have GA4?

No, you don’t have to remove the Universal Google Analytics script on your website for GA4.

Google Analytics 4 (GA4) is a new version of Google Analytics that provides an updated set of features and capabilities, including new tracking methods and more robust reporting options. However, it is not a replacement for Universal Analytics (UA), the previous version of Google Analytics.

Both versions can coexist on the same website without any issues. In fact, it’s recommended that you keep both versions running in parallel to ensure the continuity of your data while you transition to GA4.

That being said, you may want to consider updating your website’s tracking code to include the GA4 tracking code alongside the UA tracking code. This will enable you to take advantage of the new features and capabilities provided by GA4. Google provides guidance on how to set up both GA4 and UA on the same website in their documentation.

About Author

A digital designer who codes.