Google Analytics and TNMP

Has anyone been able to implement TNMP with Google Analytics? We've had difficulty as it has led to double counting some mobile traffic, and losing all medium/source information from mobile. We currently are seeing our main site as a referral for almost all of our traffic on mobile.