Google2Piwik icon indicating copy to clipboard operation
Google2Piwik copied to clipboard

Use Piwik's REST API instead of Mysql

Open ockham opened this issue 12 years ago • 3 comments

Is it possible to have an option to use Piwik's REST API for data importinstead of directly modifying the underlying Mysql database?

My web hoster doesn't allow me to access my Mysql database directly from my computer, so I cannot currently use this otherwise great tool to migrate my Google Analytics data to Piwik. FWIW, the error is:

Checking MySQL Access
Initialize database connection: There was problem connecting to your MySQL Service:
Exception:  (1045, "Access denied for user 'myuser@'myip.myprovid.er' (using password: YES)")
[FAILED]

ockham avatar Dec 13 '12 20:12 ockham

Yes, enter the Tracking API: http://piwik.org/docs/tracking-api/reference/

ghost avatar Dec 13 '12 20:12 ghost

I have Piwik on a webhost where MySQLdb seems to be broken. So could I use Google2Piwik from my home PC if I get it to access Piwik via the API? If so, where could I configure Google2Piwik to do that? Thanks for any help.

nhoening avatar Mar 26 '13 11:03 nhoening

@nhoening Unfortunately, this is currently only a feature request of mine, so it hasn't been implemented yet.

ockham avatar Mar 26 '13 18:03 ockham

@ockham thanks

nhoening avatar Apr 01 '13 21:04 nhoening