All historical stats generation


#1

hi,
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/archive.sh 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, 'http://192.168.0.212/piwik12/');
$t->disableCookieSupport();
$t->setip("192.168.1.39" ) ;
$t->setTokenAuth("e67d537fed03703c8767f5a06bc96c33" ) ;
$t->setForceVisitDateTime('2011-03-11 11:11');
$t->doTrackPageView('/test/test');





(Matthieu Aubry) #2

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


#3

thank you matt !