Multiple JS libraries for multiple trackers

Hello,

I have to implement 2 trackers on the same page. I have already seen the method to integrate the multiple trackers, but the two trackers have also 2 different JS libaries. Has someone of you already had this problem or does know how to solve it?

Thank you very much in davance,
Elena