Learn business growth with Google Analytics 4 Forums Google Analytics 4 Transitioning from UA to GA4: Implications and Code Reuse Reply To: Transitioning from UA to GA4: Implications and Code Reuse

  • Aiden

    Member
    6 July 2023 at 3:07 am

    With GA4, you’re effectively starting a new data collection stream independent of Universal Analytics. So, GA4 will continue to collect data even if UA stops. However, concerning your old analytics.js code – GA4 uses a different measurement model (gtag.js) and doesn’t support the old UA (‘analytics.js’) code. GA4 properties use a different type of tracking ID, so you’ll have to replace the old one. Despite the changes, don’t worry about your data – when UA stops collecting data, it isn’t deleted. It will still be accessible until the property is deleted.