Allow API to modify "website creation date" #2191

Closed
mattab opened this Issue Mar 16, 2011 · 1 comment

1 participant

@mattab
Piwik Open Source Analytics member

Currently set to the timestamp the website row was added to Mysql, it is often required to change the time in the past

  • when visit generator was called for ex.
  • when we import past logs (eg. apache logs) in piwik for days/weeks in the past

we should add a parameter to Website create/update API functions to allow setting this date in the past

@mattab
Piwik Open Source Analytics member

(In [4200]) Fixes #2191 the addSite / updateSite APIs now have a startDate parameter so it is possible to load logs that are in the past, and let Piwik know about it (without hacking the ts_created field in the DB)

@mattab mattab added this to the Piwik 1.3 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment