Where did American Eskimo dogs get its name?

Despite its name, this breed is not actually from Alaska. It comes from Northern Europe. It was named this after the anti-German prejudices of WWI would have stopped people from wanting the dogs. It was originally called the German Spitz.