If your tracking is set up properly and with the same Google Account you can (at least in the e-commerce reports and in custom reports) set the secondary dimension to "full referrer" or "referral path".
If your visitors comes from dummydomain.com, visits test.com and then goes to app.test.com the reports for app.test.com will show dummydomain.com as referer.