Cookies are used to provide visitor details to site administrators, often so that each surfer can be presented with the most relevant information.
Under the new law, visitors to websites must be given "clear and comprehensive" information on how the information will be collected and used. Users will also have the right to object.
But Alex Chapman, of law firm Briffa, insisted that the figures are unsurprising - and that many firms need clarification of the law.
"I am not surprised that 98 per cent don't comply. I would be surprised if even two per cent did comply," he said.
"This law, which has good points, is another example of laws made by people who don't really understand the internet.
"Guidance from the Department of Trade and Industry and the Information Commission is unclear.
"What happens if someone objects? Will they have to be directed to a mirror site with no cookies? At the very least they must be given help on how to disable cookies."
Policing the situation might prove a problem for the agency responsible, the Information Commission, which declined to comment other than to disagree with WebAbacus' figures.
"We don't know what criteria [WebAbacus] has used, so it is difficult for us to comment. But their figures don't match mine," said Faye Spencer, a complaints manager at the Commission.
Dust storm on Titan only the third Solar System body where such storms have been observed
New technique could enable quantum computers to scale-up to millions of qubits
Systrom and Krieger taking time off "to explore our curiosity and creativity"
Comcast's £29.7bn winning bid more than twice the £13.7bn Rupert Murdoch valued Sky at just eight years ago