问题
I need to import data from Google Analytics to Google Cloud Platform (Cloud Storage maybe) and then process this information and exported to google cloud SQL.
I have not a clear idea what Google Cloud Service I can use to run the process of importing the data.
I was thinking to use Google DataFlow to do the Extraction Transformation and Load into Cloud SQL.
回答1:
As @jkff mentioned in the comments if you have Google Analytics 360 you can enable the bigQuery integration and your raw data will be exported daily to BigQuery.
If you don't then there's no way to export raw data easily.
You could try to run some queries on the API to extract data and create jobs to load this data into BigQuery or some other storage. But you'll run into multiple problems with this. Beyond the actual architecture of the system to run the ETL, your queries can only return specific reports, you can't run a query to export everything. So you'll have to figure out what data you need and export that specific report, and then repeat.
回答2:
onlyGA 360 can export data, not for standard GA
来源:https://stackoverflow.com/questions/43702851/how-could-i-import-google-analytics-data-to-google-cloud-platform