That’s why you should measure behavior—and here’s how to do it step by step