Great question — answering as the UphillTech team:
You can redirect to the target with special query parameters: http://www.google.com/support/analyticshelp/bin/answer.py?answer=1033863&topic=1032998 Target must have the GA code installed. UPDATE: If the target does not have the GA code installed, you can try: Make the redirect with javascript in index.php and add the GA code on that page. OR Try this google script for mobile devices that do not support javascript http://code.google.com/intl/es-ES/mobile/analytics/docs/web/ . It's in Google Labs. I have not used so I do not know if it works or if the intended use breaks the terms and conditions of service.
Full answer by josemimg: https://stackoverflow.stackexchange.com/a/6870233 (CC BY-SA 3.0).
Need it done for your business? UphillTech.