Learn business growth with Google Analytics 4 Forums Google Analytics 4 Do I need to modify website code for GA4 property linked to UA to switch from UA- to G-ZZZ? Reply To: Do I need to modify website code for GA4 property linked to UA to switch from UA- to G-ZZZ?

  • Henry

    Member
    14 April 2023 at 5:01 pm

    As a frontend developer, you might be trying to navigate Google’s GA4 switch-over and it certainly comes with its puzzling moments. You’re right in your understanding of having to set up a GA4 property and link it to UA – it’s the first step and generally a simple undertaking.

    You’re not wrong to wonder about the gtag and UA-ZZZ. It’s important to consider that Google will stop processing new data for Universal Analytics properties after July 1, 2023, which means the UA-ZZZ would no longer be practical. From that point, it’ll be all about the new G-ZZZ, aka the GA4 tracking ID.

    If you’re uncertain about the new ID, you can see it for yourself. Just go to your GA4 property, then to Admin, followed by Data Streams. Clicking on View tag instructions and then the Install manually tab will show you that the GA4 tag has followed suit and is now in the G-XXXXXXXXXX format, matching the new measurement ID. So, in the end, it’s all about making that transition in time and getting used to the new normal in Google Analytics!