A website user weighs whether to accept or deny cookies, small data files that websites store on a user’s browser to remember their preferences. Consumers and state lawmakers alike are becoming more concerned about how retailers are using algorithms — many of which rely on personal data — to price products. (Photo by Lauren McCauley/Maine Morning Star) One online grocery shopper got charged $3.99 for a box of Wheat Thins, while another — buying from the same store at the same time — got charged $4.89. A consumer watchdog detected this price discrepancy during an investigation last September in Seattle. The grocery app Instacart used an artificial intelligence-powered algorithm that charged customers differently for each item by as much as 23%, Consumer Reports and Groundwork Collaborative found. Instacart has since stopped offering grocery retailers the technology. With many Americans struggling to afford the basics, consumers and state lawmakers alike are becoming more concern...