matomo-log-analytics
matomo-log-analytics copied to clipboard
using --replay-tracking with --add-sites-new-hosts doesn't add sites
As a user I want to be able to import Piwik tracking logfiles, while doing so Piwik creates new Sites with the ID used in the loglines.
Using latest Stable (2.16.2) I get the following output: unrecognized site ID <number if IDSite used in log line>
I expected the unrecognized IDsite would be added to the Piwik instance where the logfiles were imported.
Thanks for the report. This should be fixed (if anyone can create a pull request it would be great!)
I was looking into this, Piwik has no way of adding a new site while specifying an IDSite. We need to park this issue until the Piwik API has a way to add a site by specifying an IDSite.