Adding old data


#1

Hi,

We have just installed Piwik and I am looking to add our old statistics into the system so it gives a total number of visitors since the site was created. Is there a way of manually doing this through adding a record in the SQL tables?


(Matthieu Aubry) #2

Yes you can manually import records in the Piwik tables. You can find table definition at Database schema: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3

Then see; How do I record tracking data in the past, and tell Piwik to invalidate and re-process the past reports? - Analytics Platform - Matomo