changes domain and adds GA id.