The grocery company is expanding a pilot that uses tracking devices on carts and in baskets to see how long customers dwell in front of in-store ads.