Retailers are tapping an array of digital analytical tools to understand shoppers the way merchants, a couple of generations ago, knew customers by name and buying habits. Some retailers have been slow out of the gate in adopting the new tools. But all will have to become adept at using them before long, and some models are already proving their worth, say experts at Wharton and SAP.