What happened TripAdvisor (NASDAQ: TRIP) stock declined by 20% through the first half of 2017, according to data provided by S&P Global Market Intelligence. Data is through the first six months of the year. TRIP data by YCharts. The online travel specialist's shares began the year with minor gains that quickly gave way to significant losses in the wake of two disappointing earnings reports. So what The biggest hit came right after TripAdvisor announced fiscal fourth-quarter earnings results that were highlighted by sharply lower profits. Yes, sales growth accelerated slightly, but the company's 2% revenue uptick was far below the 6% that investors were expecting. TripAdvisor executives noted at the time that they had made progress in what management was calling a transition year for the business. Image source: Getty Images. Engagement metrics such as traffic volume and user-generated content were trending higher even though its shift to an instant-booking model pinched earnings. Investors chose to focus instead on the 67% plunge in net income. TripAdvisor's stock fell again following fiscal first-quarter results that missed consensus estimates on both the top and bottom lines. Revenue gains were modest at 6%, and the 55% slump in earnings suggested that management isn't close to returning to overall profitability. Now what The most encouraging sign in the business so far this year has been a return to growth for the hotel-booking segment. That division endured revenue declines as bad as 21% (and plunging profits) following TripAdvisor's instant-booking rollout. Yet management remained firm in predicting that since the change improves the customer experience, it will ultimately result in a stronger market position. Investors will be holding executives to their aggressive target of double-digit revenue growth for the full year. That goal implies growth will speed up over the next few quarters, thanks in part to a large marketing campaign that the company launched over the summer. Wall Street is bracing for flat adjusted earnings in 2017 as TripAdvisor works to position itself for a faster, more sustainable expansion pace in the years ahead.Find out why TripAdvisor is one of the 10 best stocks to buy now Motley Fool co-founders Tom and David Gardner have spent more than a decade beating the market. (In fact, the newsletter they run, Motley Fool Stock Advisor, has tripled the market!*) Tom and David just revealed their ten top stock picks for investors to buy right now. TripAdvisor is on the list -- but there are nine others you may be overlooking. Click here to get access to the full list! *Stock Advisor returns as of June 5, 2017Demitrios Kalogeropoulos owns shares of TripAdvisor. The Motley Fool owns shares of and recommends TripAdvisor. The Motley Fool has a disclosure policy.