https://support.google.com/analytics/answer/11583528?hl=en
But the API to access the replacement GA4 data is still in Beta: (for dotnet / go / python and node):
https://support.google.com/analytics/answer/11583528?hl=en
But the API to access the replacement GA4 data is still in Beta: (for dotnet / go / python and node):