New privacy guidelines introduced this week address the tracking of mobile users’ in-store activities while also laying the groundwork for protecting consumers as retailers look for ways to engage with smartphone-wielding shoppers.