updated ganalytics code to support subdomains