Amplitude: added setDomain and setGlobalUserProperties to init