added subdomain functionality to google analytics code snippet