In Walmart, I have found if I make eye contact and smile and say goodbye or have a nice day to the receipt person, they respond in kind and leave me alone. Also, if I have unbagged merchandise, I push the cart or carry it with receipt showing. They do not stop me.
On the other hand, I won’t shop someplace where I am treated like a potential thief (salesperson following you around). I was at Macy’s with a gift card and had a tough time deciding since the item I really wanted wasn’t there, so I spent a lot of time looking at everything in housewares. The sales lady kept following me around and asking if I needed help. It was very annoying.
She probably worked on commission. Often that happens in places where clerks *follow* you...typically they’ll tell you their name...and ssy something like, “I’ll be right there, if you need help.”;)