
Try using GA's reporting API
I want to automate the data seen in the GA view by retrieving it with API! So I tried it. Create a project in GCP Enter a suitable project name and click Create. Select the API to use Go to the dashboard screen of the created project and click "API and Services..."