Yahoo! (Nasdaq: YHOO) attracted more U.S. visitors than Google (Nasdaq: GOOG) during July for the first time since May 2011, indicating that turnaround efforts by Chief Executive Officer Marissa Mayer are gaining traction.

More than 196 million web users spent time on the largest U.S. Web portal’s sites during the month, up 21 percent from a year earlier, ComScore Inc. said in a statement Wednesday. That’s 4.3 million more than Google, operator of the world’s most-popular search engine, up less than 1 percent. The report doesn’t include Tumblr, which Yahoo bought earlier this year, or mobile users, ComScore said.

Mayer has been pushing Yahoo’s developers and designers to make improvements to the Sunnyvale, California-based company’s products and services since she was hired in July of last year from Google. She revamped the home page, e-mail and weather services with sleeker designs and other improvements. More users will lead to better financial results, she said in July.

“Hire and retain a great team; build inspiring products that will attract users and increased traffic; that traffic will increase advertiser interest and ultimately translate to revenue,” Mayer said on a call with analysts. “People, then products, then traffic, then revenue.”

That chain reaction hasn’t started yet. Second-quarter revenue, minus sales passed to partner sites, fell 1 percent to $1.07 billion and also missed analysts’ estimates of $1.08 billion.