Learn business growth with Google Analytics 4 Forums Google Analytics 4 Trouble obtaining data for device and user gender dimensions in PHP with Analytics Reporting API Reply To: Trouble obtaining data for device and user gender dimensions in PHP with Analytics Reporting API

  • Raj

    Member
    3 July 2023 at 8:01 pm

    It sounds like your code might be getting tripped up when it tries to draw data for the ‘usergender’ dimension and doesn’t find anything. Make sure there are actually data available for that dimension. If everything seems alright there, there might be a bug in your PHP script, so double-check your syntax and logic in the code.