Tag manager in a multi-server setup

Hi :slight_smile:

We have a multi-server setup with
2 req servers
1 administration server
1 database server

I discovered that the tag manager generates js files in /matomo/js/ named container_XXXXX.js. These files are called from the client accessing the website. The files resides on the administration server (where administrative users setup their websites).

The administration server is not accessible through Internet. Only the req servers are.
Is there a tool for syncing the container (and other required) files? Or should I simply copy /matomo/js/ to the two req servers?


I ran into a similar situation and I used a share between the servers to keep the JS folders the same on all servers. But you could also use rsync to sync up to req servers periodically.