adding setDomain to analytics