Dressing room mirrors with touch screens that tell stores about your preferences and buying habits are part of a wider push to track online and offline shopping activity.