Does anyone know how to get site or application statistics from Google Analytics and display them in an ASP core 5 project as a chart?
I would appreciate it if you answer my question
The codes provided by Google give errors for new client login.
This link: https://developers.google.com/analytics/devguides/reporting/core/v4/samples
The code and link you mentioned is related to the old version which has been expired on July 2023. Please migrate to Google Analytics 4 which is The related code and info can be foundGoogle Analytics Data API (GA4).