When people shop online at retailers Macy’s or Finish Line, their visits are tracked an shared with outside firms that scores their behavior and decides whether to approve or deny purchases.