better check for url params and getDomain