Learn business growth with Google Analytics 4 Forums Google Analytics 4 Transitioning to GA4: Compatibility of analytics.js based UA-XXXXX code after migration? Reply To: Transitioning to GA4: Compatibility of analytics.js based UA-XXXXX code after migration?

  • Lucas

    Member
    21 December 2022 at 4:12 am

    Currently, Google recommends using both tracking codes (UA-XXXX and G-XXXXX) simultaneously as it allows data to flow into both the Universal Analytics (UA) and the new Google Analytics 4 (GA4) properties. If you’ve linked your old UA to GA4 and data is flowing, you’re on the right track. However, Google has announced that it will stop supporting UA in July 2023. After that, no new data will flow into UA properties, but your old data will still be accessible. Therefore, it is advisable to start migrating to the new GA4, by updating your website code to include the new G-XXXXX code. The speed of this migration is up to you; it can be done in your own time, but should ideally be completed before July 2023 to avoid any disruption to your data collection.