The digital marketing software firm Ibotta has hired David Shapiro as its first chief legal officer, bringing aboard an attorney with deep in-house experience as it lays the groundwork for an initial public offering that would value the business at $2 billion.