David Goldberg, the SurveyMonkey CEO who also was Facebook executive Sheryl Sandberg's husband, was exercising at a gym in a Mexican resort when he collapsed before he died Friday, a person close to the family says.

The person asked not to identified because they weren't authorized to speak publicly.

Efforts to revive Goldberg, who was vacationing with family and friends, were unsuccessful.

The source says family is planning a service in California but no other details are available.

The popular Silicon Valley executive died Friday night at age 47, his company and family members said on Saturday, without giving a cause of death at the time.

In an interview last month, Goldberg told the news site Business Insider of maxing out his credit cards in the early 1990s to fund one of his first Internet ventures, a music site, before going on to work at other tech companies, including Yahoo.

In 2004, Goldberg married Sandberg, another longtime tech executive who now serves as Facebook's chief operating officer.

Sandberg launched an international conversation about the dearth of women in positions of power with her 2011 book "Lean In: Women, Work and the Will to Lead." In it, Sandberg wrote of the adjustments she and her husband had to make to manage two high-profile careers while raising two children.

On Monday, the Walt Disney Co. moved up its earnings release to Tuesday morning to allow executives to attend Goldberg's funeral. Sandberg is a member of Disney's board of directors. The earnings report was originally scheduled for the afternoon following the stock market close.