The method is Behavioral Friction Theory: a model of how competing options decide whether something gets done. It is publicly published, so you can examine the basis before you buy — see frictiontheory.org.
In practice it is craft. We look for where people stall — a form with three fields too many, a letter that asks for something unclear, a login that arrives before the point — and rebuild exactly that.