How to use Google Analytics API

328 Views Asked by At

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

1

There are 1 best solutions below

5
Shila Mosammami On

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).