The company has been told to delete all the data it had gathered on people who did not use Facebook.
A Belgian court on Friday ordered Facebook to stop tracking internet users in the country who do not have accounts with the United States social media giant, or face heavy fines.
According to the court, Facebook keeps tabs not only on its users, but even on people who have never visited the Facebook website itself.
Belgium's privacy watchdog said the website had broken privacy laws by placing tracking code - known as cookies - on third-party websites.
Facebook has come under fire for a Belgium court which has threatened it with a fine of up to €100 million if it continues to break the nation's privacy by collecting personal data.
The court found the social media site guilty of breaching Belgium's privacy laws, www.deredactie.be reported late Friday.
The web-based social networking monster utilizes distinctive strategies to track the online conduct of individuals on the off chance that they are not on the organization's site by setting treats and undetectable pixels on outsider sites, the court said. Since it is not within CPP's power to directly penalize organizations, it dragged Facebook to the court accusing the company of "trampling" over Belgian and European Union privacy law.
"The judge agreed with the Privacy Commission's view that Facebook had flouted our country's privacy legislation", the report said.
Facebook has informed that it would appeal against the order.