Shares of Yelp (YELP) - Get Report  were up 8.6% to $37.95 in trading Friday after the online-review company reported second-quarter earnings that topped analysts' estimates.

The company reported second quarter earnings of 16 cents a share on revenue of $234.9 million. Analysts were expecting the company to report earnings of 12 cents a share on sales of $247 million. 

"I am proud of our team's execution of Yelp's business transition in the first half, which helped us achieve our outlook for the second quarter and sets the stage for revenue acceleration in the second half," said CEO Jeremy Stoppelman. "The significant progress we have made this year, which includes delivering compelling new products, driving greater value to our advertisers, and growing our multi-location business, reinforces our confidence in achieving our financial outlook for 2019."

The company also announced that Chief Financial Officer Lanny Baker was leaving the company effective Sept. 2, to join Eventbrite (EB) - Get Report as its finance chief.