Google Analytics 4 learning community
  • Learning Hub
  • Community
  • GA4 Monitor
    Sign in Sign up
    Google Analytics 4
    Google Analytics 4
    • Learning Hub
    • Community
    • GA4 Monitor

    Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › How can I configure metrics for my API? › Reply To: How can I configure metrics for my API?

    • Sebastian

      Member
      9 June 2023 at 6:50 am

      Creating metrics for “Entrances”, “Exits”, and “Views” for your API would typically involve using performance tracking tools. However, there seems to be no current support for such a feature via API (here’s an issue raised on GitHub regarding this: https://github.com/googleapis/google-cloud-java/issues/9279). Alternatively, you might consider generating a similar report using the Google Analytics official dashboard. Here’s a link that may guide you through the process: https://support.google.com/analytics/answer/11080047. For information pertaining to currently supported metrics and dimensions through the data API, please consult the following link: https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema.

    2025 - GA4 Learning Community: collaborating for accelerated business growth.