Companies have long gathered data to break down their customer base into specific segments. Now political parties have become adept at micro-targeting, too, using data on shopping habits, leisure activities, voting histories, charity donations, and so on, in order to pinpoint likely supporters and the type of appeal most likely to win them over.