I started testing Matomo, and to do that, my colleaque added the tracking code on Wordpress site.
Then I read guidelines that you need to add tracking code after you have imported Google Analytics data to be able to see the data behind same site.
Can I somehow go back one step, so that Matomo would forgot the tracking code that has been on our site? Or do I have only one option, and that is to keep old data and new data separate? It does not sound very convenient…
Following this as well. All forum & git conversations along with help documentation do not seem to definitively answer this. From all I’ve read it sounds like you can only delete and start completely from scratch with an import creating a new siteID/measurable. Then deploy that tracking script to begin tracking from today on. It would be beneficial to know what the recommended path would be for this since the Google Analytics Importer “notification” within matomo continues to pop-up on existing site measurables if you haven’t used it yet for that measurable. By doing this, it makes it appear that one could import historical data into an existing website/measurable at any time; however, everything I’ve read says that isn’t possible and the importer will just create new siteID’s.
That being said, the only way I’ve thought of resolving this to be able to “merge” historical data with recent/new data if you’ve already been tracking a website/measurable before importing historical data is to import the historical data into separate measurables/websites/siteID’s then use “Roll-Up” reporting to create a roll-up for the historical data siteID and the new/current tracking data siteID. Essentially, that way you can see all of this at once. Not sure if that’s the best option/recommened but it’s the only path I’ve come up with that would likely work as desired.
That is correct, each time you start a GA import, this will create a new website within your Matomo Instance.
Once the import has started, you can then start tracking into this website, keeping your imported data and live tracking within the one website.
The other option is to have two websites, one for the imported data and another for the live tracking.
There is no way to merge two SiteIDs currently.
Unfortunately the roll-ups idea won’t work when it comes to GA imported data.
The importer only imports aggregated report data, not the raw visit and action data. Because roll-ups use the raw data, this option wouldn’t work for this.
I will pass on the idea of making this clearer within the GA import screen, that imported data cannot be imported into an existing website/measurable.