What happened

Shares of Chipotle Mexican Grill (NYSE:CMG) rose 13.4% in August, according to data provided by S&P Global Market Intelligence.

The casual dining restaurant chain's shares have risen 52.7% year to date and continue to hit new all-time highs.

Three tacos sitting on a wooden board with lime beside them.

Image source: Getty Images.

So what

Chipotle is one of the few restaurant chains that has managed to successfully pivot to digital sales during the pandemic, even as around 30 restaurants remained temporarily closed as of the end of July. For the company's second quarter, revenue declined by 4.8% year over year while comparable restaurant sales fell by 9.8% year over year. However, digital sales grew by an impressive 216.3% year over year and represented 60.7% of sales for the quarter.

Comparable-store sales hit their nadir during April at negative 24.4% year over year, but steadily improved over the months to end at positive 2% in June. Chipotle also opened 37 new restaurants during the quarter, taking advantage of the downturn to continue its growth path. Digital awareness was enhanced through advertising as well as new delivery partnerships with Grubhub and Uber Technologies' Uber Eats. 

CEO Brian Niccol mentioned on the company's latest earnings call that Chipotle has been able to retain around 70% to 80% of its digital sales gains while recovering around 40% to 50% of in-store sales. It's great news for investors, as this means the company is enjoying the best of both worlds: garnering new customers through its digital presence and enjoying the slow recovery for restaurant dine-ins.

Now what

Chipotle intends to work on its goal of having two new menu items per year now that reopenings have given the company a chance to test out new items again. Its rewards program has grown to nearly 15 million members after being launched just 15 months ago, and the rate of enrollment has almost doubled during the period that overlapped with the COVID-19 pandemic.

This platform helps the company to analyze transaction data from customers and allows Chipotle to send out personalized promotions to drive more frequent purchases for a larger average basket size. With the company's strength in building up its digital channels, investors should expect more good news from the company in the coming quarters.

This article represents the opinion of the writer, who may disagree with the “official” recommendation position of a Motley Fool premium advisory service. We’re motley! Questioning an investing thesis -- even one of our own -- helps us all think critically about investing and make decisions that help us become smarter, happier, and richer.