Learn business growth with Google Analytics 4 Forums Google Analytics 4 Exploring the Transition from Google Universal Analytics to GA4 Event Tracking Reply To: Exploring the Transition from Google Universal Analytics to GA4 Event Tracking

  • Rishi

    Member
    21 June 2023 at 2:09 pm

    Sure! When switching to GA4 from Universal Analytics, the events need to be translated uniformly. In the case of Universal Analytics, ‘action’ (ea) maps to ‘event_name’ in GA4. Similarly, ‘event_category’ (ec), ‘event_label’ (el) and ‘event_value’ (ev) from Universal Analytics change to parameters with the same names in GA4 along with their respective parameter values.

    For instance, if you had an event in GA4 that corresponded to ‘Listen’ in Universal Analytics, you’d structure it like:

    gtag('event', 'Listen', {   
    'event_category': 'Stream',   
    'event_label': 'The Show',   
    'event_value': '10' 
    });
    

    Here’s a handy Google help center article to understand this better.