Nevermind, I found the answer to my question. The synchronous java tracking object must be used as specified on the following page.
[piwik.org] (Multiple Piwik Trackers)
[piwik.org] (Multiple Piwik Trackers)