BT has confirmed that it carried out a secret trial of the Phorm advertising system which tracks internet users' online behaviour.
Phorm monitors the websites a user visits and delivers advertising based on this information.
Following reports that 18,000 people had had their usage patterns mined by the Phorm software, BT stated that a test did take place but that the data was anonymous and did not therefore break the law.
"BT can confirm that a small scale technical test of a prototype advertising platform took place for two weeks during September and October 2006," said Adam Liversage, chief press officer at BT Group.
"The purpose of the test was to evaluate the functional and technical performance of the platform. It is important for BT to ensure that, before any new technologies are deployed, they are robust and fit for purpose.
"No personally identifiable information was processed, stored or disclosed during this test."
Phorm has provoked a storm of controversy after BT, Virgin and Talk-Talk signed up to the platform. Privacy groups have protested that it is intrusive, and possibly illegal.
Cotton seedling freezes to death as Chang'e-4 shuts down for the Moon's 14-day lunar night
Fortnite easily out-earns PUBG, Assassin's Creed Odyssey and Red Dead Redemption 2 in 2018
Meteor showers as a service will be visible for about 100 kilometres in all directions
Saturn's rings only formed in the past 100 million years, suggests analysis of Cassini space probe data
New findings contradict conventional belief that Saturn's rings were formed along with the planet about 4.5 billion years ago