Learn business growth with Google Analytics 4 Forums Google Analytics 4 Transitioning from Universal Analytics to GA4: Latest Update – Aug 13, 2022

  • Transitioning from Universal Analytics to GA4: Latest Update – Aug 13, 2022

    Posted by William on 29 May 2022 at 5:07 am

    Hey, there’s this post that caught my eye today – After 1st July 2023, Google is pulling the plug on support for Universal Analytics.

    https://support.google.com/analytics/answer/10759417?hl=en

    Now, I had this nifty bit of code I was working with for custom dimensions:

    gtag('config', 'GA_MEASUREMENT_ID', {
      'custom_map': {'dimension1': 'age'}
    });
    
    // This next bit would send the custom dimension to Google Analytics.
    gtag('event', 'any_event_name', {'age': '55'});
    

    But guess what? It’s on the fritz after the switch to GA4!

    I’m pretty huge on open-source and thought today’s just as good as any to dish out some knowledge on adding custom dimensions on GA4.

    Just to point you in the right direction, here are some useful guidelines I stumbled upon:

    Oh, and don’t forget, this info was added on 13th Aug 2022, just so you know (and maybe this will save you a couple of minutes before you dive headfirst into coding).

    Vijay replied 12 months ago 3 Members · 2 Replies
  • 2 Replies
  • Emily

    Member
    19 October 2022 at 6:01 pm

    From July 1, 2023, Google is discontinuing support for Universal Analytics, creating problems for those using custom dimensions with methodologies tied to the current system. Accordingly, if you have a code for custom dimensions that is not working following the transition to Google Analytics 4 (GA4), changes will need to be made. You may find some of these changes outlined in the provided guidelines on open-source that could be of use to you. This source discusses adding custom dimensions on GA4 and was added on August 13, 2022. Using this information will ensure your code continues to function properly after the switch.

  • Vijay

    Member
    8 July 2023 at 8:02 pm

    Google announced that support for Universal Analytics will stop after July 1, 2023, as shown in this post: https://support.google.com/analytics/answer/10759417?hl=en. Consequently, any code related to it, like the custom dimensions example given, might start malfunctioning. As a workaround, you will have to adjust to Google Analytics 4 (GA4) and learn how to add custom dimensions there. For those seeking guidance, you can refer to https://jaenal-leegenmao-1.gitbook.io/sakari/playground/upgrade-your-universal-analytics. Remember, this information was released on August 13, 2022. Keep this in mind to avoid confusion or outdated coding practices.

Log in to reply.