Yes, this is a SPA site. We have the page Report Suite A page load rule firing when it moves on to the next page but picks up the Report Suite B still. So I am using s object for Report Suite A and then sz object for Report Suite B. After sz object (Report Suite B) fires, all the legacy rules that is tied to Report Suite A picks up Report Suite B. 😞
Your comment about isolating the objects within two difference .js does make sense. We have one locally hosted on our website and our development environment adobe hosted, this could probably explain why it works in our lower environment but when pushing it to our production site, it doesn't work and overwrites. I'll need to do a few more tests and configurations and hope to provide an update.
P.S.
If anyone else has any suggestions or comments, please feel free to share as well. Appreciate everything and everyone!
It sounds like s and sz aren't fully separated... the account should be set in s_account... and for the sz it should be sz_account
So that when you call s_t() it should use "s.account" and when you call sz_t() it should use sz.account.
Basically your sz version should have everything separated... Launch should be called s_t() and s_tl() and using all the s specific items....
If you are comfortable debugging in your browser's console... you can check what these items are set to....
So when your site load, check the value of s.account (it should be report suite A) and I assume that your second suite will be loaded also when the site loads, and it should have an sz.account set to (report suite B). In the custom code of your Launch property, for testing only, you can add a console.log(s.account) as part of the Set Variables (you should be able to then see if that value gets overwritten?). You can also check other s object items... to see if there is potential overlap....
Its a little hard to help, since I can't see everything that you have set up...
While I can't guarantee this will work, you could also try to force the s.account in the custom code of your Set Variables to your suite... but you will also need to check which environment you are in, to set it properly for QA, Staging and Prod... and this will basically overwrite the extension set up (and you would need to probably add this to all your rules....) which isn't ideal...
The best solution really would be to try and find where the two objects are being overlapped... and try to get them separated....
OR while it does come at a cost, work with Adobe to set up Vista Rules... Adobe can process rules and transform them and then send them to another suite.... they may even be able to prevent that tracking from going to the main suite (since you want multimedia on the separate suite)....
Since these are complex rules, it requires an Adobe Engineer to support, which is why it will cost money to set up (not sure what those costs might be.. we were looking at something similar during a transitional period from one suite to another, but decided that for a short term temporary solution it wasn't worth it), but for you, being a permanent solution, it might be better to avoid all the headaches?