I’m currently injecting my own logs in a piwik databse using the PHP Tracking API[/url] ( my precedent post: [url=http://forum.piwik.org/read.php?3,74015,74015#msg-74015]Visit injection ).
As Matt said, “[…] not the fastest way but it will work […]”. I saw that the API access method is a HTTP call (using curl if i’m right). Is there a way to avoid this network call and call directly PHP classes ?
PS: On Tracking API piwik page, there is this line in PHP example:
[...] $t->setCustomData( array('id' => 10, 'name' => 'test') ); [...]
… but i don’t see the setCustomData method in PiwikTracker class (maybe it’s an old one).