I always use cashback apps for my grocery shopping. And the best thing is you can also combine most of them with your credit card so you're double dipping :) On some of my credit cards I get 3% back + whatever the app gives me for scanning the receipt.
The one I use most of the time is Ibotta...