More companies are gathering and analyzing survey data to keep consumers happy and loyal.