Yes, if you place the javascript code on the subdomain pages the software treats subdomains like it does your main domain. It well all appear in the reports as one big site.