Analog recording is based on the fact that remnant magnetisation of a given material depends on the magnitude of the applied field.
Instead of creating a magnetisation distribution in analog recording, digital recording only needs two stable magnetic states, which are the +Ms and -Ms on the hysteresis loop.