added support for setDomainName option of analytics.