NEW YORK — Despite holiday deals all month, shoppers still picked up their spending on Thanksgiving Day and Black Friday, one technology company says.

Spending for Thursday and Friday together increased 11.9 percent compared with the same two-day period last year, said First Data, which analyzed online and in-store payments across different forms of cards from 1.3 million merchants. Retail spending, which excludes grocery stores, restaurants, auto parts merchants and gas stations, rose 9.3 percent.

The buying was helped by higher consumer confidence, low unemployment and cooler weather, the firm said.

Nationwide, both retail spending and overall spending rose nearly 6 percent from Nov. 1 through Nov. 22.