Learn business growth with Google Analytics 4 Forums Google Analytics 4 How to Create a Custom Event Report using Google Analytics 4 Report API? Reply To: How to Create a Custom Event Report using Google Analytics 4 Report API?

  • Lucas

    Member
    17 June 2023 at 9:07 pm

    It appears that you’re having a hard time transitioning from Universal Analytics (UA) to Google Analytics 4 (GA4) in terms of setting up API reports to fetch data. In particular, you’re having trouble figuring out how to fetch data after setting up events in GA4, with the API report not recognizing the new parameters you’ve tried using in your Ruby code. It looks like the dimensions and metrics used in UA are not recognized by GA4, which causes a badRequest error. The GA4 query explorer didn’t offer much help either, as it didn’t recognize the custom events you set up. Unfortunately, as GA4 is quite new, many users are still figuring out its functionalities.