Footfall at shops in Scotland was down 0.3% in August compared with the same period last year, according to a report by the Scottish Retail Consortium and the Springboard retail footfall monitor.
The drop in shoppers in Scotland was better than the 0.9% cut across the UK as a whole, and the same as that recorded in London.
It also marked an improvement on the 1.3% drop in footfall in July.
Fiona Moriarty, director of the Scottish Retail Consortium, said the latest figure was in line with encouraging sales growth in August and a "significant uplift" in consumer confidence.
"It's a complex comparison as the Olympics saw many of us out and about while others cut shopping trips to fit round watching the Games," she said.
"The signs are that confidence is gradually returning in our high streets and town centres.
"Retailers will be hoping this tentative momentum starts to build as they start gearing up for their all-important Christmas campaigns."
The north of England and Yorkshire was the only region to report a growth in shopper numbers of 0.1%.
Diane Wehrle, Springboard retail insights director, said it weas a surprise that footfall fell in the summer's hot weather,
But she added: "Despite this, over the quarter footfall has been stable compared with the previous quarter when it dropped by 1.9%, and by 2.5% over the same quarter last year.
"Given the increase in sales in August, the lack of uplift in footfall indicates that the number of customers visiting our retail locations is remaining steady in overall terms but they are spending more.
"The footfall performance of retail parks clearly reflects the fact that home products were the best performers in sales terms in August, which may well have deflected footfall away from high streets and shopping centres."