Currently both the url of the matomo server + the site id are hardcoded, which is not great for several reasons, including that those prod values are also used in preprod and in local tests.
A solution could be something like this: https://stackoverflow.com/a/41734257/1796345