tag-manager icon indicating copy to clipboard operation
tag-manager copied to clipboard

[Bug] When switching ID Sites Matomo throws an error

Open Starker3 opened this issue 1 year ago • 2 comments

When switching to a different website while editing an existing container, Matomo throws an error such as: The requested container "abcdefg" does not exist.

image

Since a container can only exist for a specific ID Site, it's expected that changing ID Sites shouldn't try to load the same Container ID. Perhaps changing this to an info banner instead of warning/error and expanding the message to be more clear would be helpful to users to understand that the container is specific to an ID Site.

Starker3 avatar Nov 03 '23 02:11 Starker3

@Starker3 We should try to remove the idContainer on site change to get rid of this error totally if we can't do that atleast change this to a info :+1:

AltamashShaikh avatar Nov 03 '23 03:11 AltamashShaikh

Thanks @AltamashShaikh I'm thinking that it might be useful if it is shown in a different way. Especially for users who are new to Matomo or to the Tag Manager they might not know that a container is specific to an ID Site. When they switch they might then be confused as to why the container is no longer accessible. But I guess if it's simpler to remove the idContainer parameter when changing ID Sites then that might be an optimal solution than changing the warning and copy.

Starker3 avatar Nov 03 '23 03:11 Starker3