Analytics work on sub-directory install?

hi,

Just a quicky, does the Google analytics plugin work when the network is a sub-folder deployment?

Is there a special way fo setting it up or do they just add http://www.mysite.com/subsite url to google analytics to get their UA code?

Thanks
Gavin