How TJX and Costco drive foot traffic in the digital age

The TJX group (including brands like TJMax, Marshalls, HomeGoods etc.) and Costco seem to be always crowded. And when you look at long checkout lines you know they must be doing something right in the digital age.