Seattle has enacted a ban that stops grocery stores from setting prices or offers based on shoppers' personal information.

The city says the measure is intended to halt the practice of surveillance pricing, where retailers tailor prices or discounts by analyzing individual shoppers' data.