Google Analytics expert, conversion rate optimization, SEO, social media, online marketing.
Hi, you should use one property with the same UA number on both www and subdomain pages. Enable ecommerce tracking from the profile settings.
Here's the best article on subdomain tracking I've found so far:
http://www.roirevolution.com/blog/2011/01/google_analytics_subdomain_tracking.php