UA also knows if you fly.
In fact, I once checked in at Denver, got my boarding pass, and actually boarded the plane (BP was sent through "the machine"). Due to mechanical problems that developed after boarding, we had to disembark, and I arranged for some alternate transportation. The plane did eventually take off, without me.
I kept watching for those miles, but they never showed up...