Matomo on pre-production website


I was wondering if it’s relevant / possible to install Matomo on a pre-production website (the url will change soon) ?
Or does it requires the final url to works ?

Website ID will be different for the 2 websites, thus you’ll have to update Matomo js code with the new Website ID for the 2nd website anyway.

You could move as far as I know the data from one Matomo to another as per here.

But if you are doing a pre-production website, I am assuming you’ll have test users and not relevant data, maybe that’s why?

You could setup a separate Matomo instance, have your setting there and do your tweaks, and test it there; then when ready on the new live website, you can have a brand new Matomo instance on which you apply your previous tweaks from the test Matomo site.