I think classifying grocery store operations as frontend/backend is too far from reality to be a useful analogy. That’s not to say that I don’t agree that google analytics is more insidious than just about anything grocery stores do.
Erm heard of footfall monitoring and tracking customers by their phones.
Depends whether you think a "loyalty" program, or customer tracking cameras is frontend or backend