All historical stats generation


I am trying to import some data to piwik 1.2 using the php track class (source code below).
then I launch the misc/cron/ but I get only the stats from the last 24 hours.
how can I generate the whole history ?

thanks for your help

$t = new PiwikTracker( $idSite = 1, '');
$t->setip("" ) ;
$t->setTokenAuth("e67d537fed03703c8767f5a06bc96c33" ) ;
$t->setForceVisitDateTime('2011-03-11 11:11');

(Matthieu Aubry) #2

You have to update piwik_website table ts_created field with the older timestamp.


thank you matt !