I have distributed Matomo deployment, and use **./console tagmanager:regenerate-…released-containers** for sync js containers between servers.
When I open container_xxx.js, generated by this command, in another server (not where I created initially), I see that **idSite** parameter in **MatomoConfiguration** equals **0**:
```
window.MatomoTagManager.addContainer({
"id": "56xv3rVC",
"idsite": 346,
"versionName": "",
"revision": 0,
"environment": "live",
"tags": [
{
"id": 252,
"type": "Matomo",
"name": "0e0129bdf61bc36b86fc6f771bf30694",
"parameters": {
"matomoConfig": {
"name": "Matomo Configuration",
"type": "MatomoConfiguration",
"lookUpTable": [],
"defaultValue": "",
"parameters": {
"matomoUrl": "https:\/\/mysitetracker.com\/",
"idSite": 0,
"enableLinkTracking": true,
"enableCrossDomainLinking": false,
"enableDoNotTrack": false,
"enableJSErrorTracking": false,
"enableHeartBeatTimer": false,
"trackAllContentImpressions": false,
"trackVisibleContentImpressions": false,
"disableCookies": false,
"setSecureCookie": false,
"cookieDomain": "",
"cookiePath": "",
"domains": [],
"alwaysUseSendBeacon": false,
"userId": "",
"customDimensions": [],
"bundleTracker": true,
"registerAsDefaultTracker": true,
"jsEndpoint": "piwik.js",
"trackingEndpoint": "piwik.php"
},
"Variable": "MatomoConfigurationVariable",
........
.......
"variables": [
{
"name": "MatomoConfiguration",
"type": "MatomoConfiguration",
"lookUpTable": [],
"defaultValue": "",
"parameters": {
"matomoUrl": "https:\/\/mysitetracker.com\/",
"idSite": 0,
"enableLinkTracking": true,
"enableCrossDomainLinking": false,
"enableDoNotTrack": false,
"enableJSErrorTracking": false,
"enableHeartBeatTimer": false,
"trackAllContentImpressions": false,
"trackVisibleContentImpressions": false,
"disableCookies": false,
"setSecureCookie": false,
"cookieDomain": "",
"cookiePath": "",
"domains": [],
"alwaysUseSendBeacon": false,
"userId": "",
"customDimensions": [],
"bundleTracker": true,
"registerAsDefaultTracker": true,
"jsEndpoint": "piwik.js",
"trackingEndpoint": "piwik.php"
},
"Variable": "MatomoConfigurationVariable"
}
]
```
This problem occurs only for new created sites, if I edit Matomo Tracker variable, save and publish MTM - idSite is normal after regenerate-released-containers