In 2016, after a torrent of targeted Facebook ads helped lift President Trump to a surprise victory, it seemed like the dawn of a new age of digital-first campaigning.

But three years later, online advertising by political campaigns is still largely an afterthought, according to a new report by Tech for Campaigns, a group of technology workers who volunteer to help Democratic candidates with digital outreach.

On average, campaigns in the 2018 midterm election cycle spent no more than 5 percent of their overall media budgets on digital advertising, according to the group’s report, which was compiled using political ad reports issued by Facebook and Google and publicly available spending data.

Television ads and direct-mail campaigns remained the biggest expenses for campaigns, accounting for about half of all media spending, the group said.