简体   繁体   中英

mySQL data into Google Analytics

I have a client who wants to retrospectively add data into GA from their back end mySQL database. The data will be transnational, for example when an existing customer makes a recurring payment via BACS/Bank Transfer.

Is it possible to do this, if so a) how and b) can it be automated?

I'm not sure if there is some script we can implement or whether we have to manually export the data into GA.

Thanks!

This is quite possible depending on what sort of data in in your database. Essentially, to upload anything to Google Analytics, you'll need some sort of key to key off of. Eg transactionId, etc. Then you can use the Data Import (located under the Property of the account) to upload your data.

To automate it, you can use the Management API .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM