简体   繁体   English

将MySQL数据导入Google Analytics(分析)

[英]mySQL data into Google Analytics

I have a client who wants to retrospectively add data into GA from their back end mySQL database. 我有一个客户想要将数据从其后端mySQL数据库追溯添加到GA中。 The data will be transnational, for example when an existing customer makes a recurring payment via BACS/Bank Transfer. 数据将是跨国数据,例如当现有客户通过BACS /银行转帐进行定期付款时。

Is it possible to do this, if so a) how and b) can it be automated? 如果可以的话,有可能做到这一点a)怎样以及b)可以自动化吗?

I'm not sure if there is some script we can implement or whether we have to manually export the data into GA. 我不确定是否可以执行某些脚本,或者是否必须手动将数据导出到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. 例如,transactionId等。然后,您可以使用数据导入 (位于帐户的“属性”下)上传数据。

To automate it, you can use the Management API . 要使其自动化,可以使用Management API

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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