Understanding consumer behaviour, from the inside out