United Parcel Service Inc.’s second-quarter earnings met analysts’ estimates as the company benefited from the surge in online shopping and strong results overseas. Adjusted earnings rose to $1.43 a share, the company said in a statement Friday. Revenue of $14.6 billion matched the average of analysts’ predictions compiled by Bloomberg. UPS reaffirmed its full-year outlook for profit of $5.70 to $5.90 a share. Shares of the Atlanta-based courier climbed 13 percent this year through Thursday, almost wiping out the stock’s decline in 2015. UPS had a smooth holiday season last winter and was able to deliver a surge in packages ahead of Christmas in almost all cases. Two years earlier, the company underestimated a late-season spike in packages, and in 2014 UPS overcompensated for an expected increase that never came. The strong holiday performance and the growth of online shopping has given investors more confidence, BB&T Capital Markets analyst Kevin Sterling said before the results were announced. If planning for peak traffic is figured out “and e-commerce is continuing to grow, it kind of gives people a reason to buy this stock,” he said. The stock fell 0.4 percent to $108.25 in premarket trading. International Business The effects on Europe’s economic growth of the U.K. vote to leave the European Union are a “slight concern,” William Blair & Co. analyst Nate Brochmann wrote in a July 13 research note. However, growth in online shopping on the continent should help offset any economic weakness, he wrote. International operating earnings climbed 11 percent to $613 million. UPS has taken several steps to improve the profit made on each package delivered to a home, which led to a better profit margin in the first quarter. The company is delivering packages to neighborhood convenience stores and pharmacies, instead of doorsteps, in some circumstances. It also plans to install lockers outside 7-Eleven locations and other convenience stores so people can pick up items 24 hours a day. Analysts are eager to ask UPS how it handled a midyear surge in packages on July 12, when Amazon.com Inc. offered discounts as part of its Prime Day promotion for select customers, said Bloomberg Intelligence analyst Lee Klaskow.