added domian check to analytics