Editor's Note: This article was originally published at 7:03 a.m. ET on Real Money on May 9. To see Jim Cramer's latest commentary as it's published, sign up for a free trial of Real Money.NEW YORK ( Real Money) --Can the rally in Groupon ( GRPN)be for real? How about Yelp ( YELP)? These two companies have long been at the heart of trying to figure out what to buy and where to eat and where to stay. With this quarter just reported, these stocks have enjoyed a remarkable resurgence and surge, respectively, because of mobile -- and, more important, because of a pick-up in local commerce. Yes, Groupon and Yelp have managed to harness two of the most important trends in business right now: the rise of the mobile app vs. the desktop, and the return of growth to the American consumer. Now, I don't want to get carried away here. Groupon also has a sizable international business that is in decline, and there are real issues about whether this company is really making any money at all. In this seasonably weak quarter, Groupon was cash negative. Yelp has become, overnight, one of the most overpriced stocks in the book. There are no real earnings, so there are no price-to-earnings ratios. But the core business metrics, like more couponing for Groupon, and more reviews for Yelp, are definitely headed in the right direction. For Groupon that's huge news, because many people have thought the company may not even make it. Remember the lifecycle here. First it was a darling, then it was a dog, then it was a dead dog. The obituary had been premature, but it is still a dog. Yelp, however, has a definitive pulse. It had accelerating revenue growth, or ARG, and that remains the holy grail of which we see so little. When we do see it, we tend to overpay for it because of its scarcity value. Most of the Internet companies I follow -- indeed, most of the tech companies I follow -- have been hurt, and in some cases almost annihilated, by the migration from the desktop to the handheld. Uniquely, though, these two companies benefit because they are leveraged to local commerce. In fact, I can't even begin to count how many times Groupon's new management used the term "local" in its preamble to the earnings call. Mobile usage now accounts to 45% of the business, up from 30% a year ago, and that conversion is what explains the 45% increase in North American business. The company made sure that everyone who listened to the call heard "local business experienced some solid sequential growth" -- because, and I quote, "We are a local company."