Tracking with multiple tagging agencies

Hello Matomo gurus,

I am working on a project and having some issues with setting up tracking code for sending tracking data to multiple tracking servers. One server is running Matomo with Heatmap & Session Recording and some other plugins enabled, and the other server has different plugins enabled. The tracking servers are owned by different 3rd party companies.

Should I setup one tracking code with addTracker() for sending data to both servers? I found the matomo.js file from the 2 Matomo servers are very different. Which one should I use?

Would it be possible to setup 2 independent tracking snippets which then each would use its own matomo.js and send tracing data its own server? If this is possible, how to avoid the Javascript clashes in the 2 matomo.js?

Any advice would be appreciated.

Regards
Jayz