How to add second Matomo & container id to cinfiguration?

We need your help to add second Matomo & container id to our configuration.

Based on this information:

We have currently this kind of configuration:

var _mtm = _mtm || [];
mtm.push({‘mtm.startTime’: (new Date().getTime()), ‘event’: ‘mtm.Start’});
var d=document, g=d.createElement(‘script’), s=d.getElementsByTagName(‘script’)[0];
g.type=‘text/javascript’; g.async=true; g.defer=true; g.src='
{{ oda_matomo_container }}.js’; s.parentNode.insertBefore(g,s);

How we can add second Matomo instance?
I was thinking something like this - should this work?

Thank you for your help.


See this help about multiple containers in one page: