A new investigation has revealed that hundreds of US government websites are embedding tracking code that sends visitors' browsing data to major technology companies, sparking concerns about government surveillance and privacy violations. The tracking, which occurs on sites operated by federal agencies including the Department of Defense, the Department of Veterans Affairs, and the Social Security Administration, involves code from firms such as Google, Facebook, and Amazon.
How the Tracking Works
The tracking code, often invisible to users, collects information such as IP addresses, browser type, and pages visited. This data is then transmitted to third-party companies for analytics, advertising, or other purposes. According to a report by the nonprofit tech watchdog group TechJustice, at least 500 federal websites contain such tracking, potentially affecting millions of visitors who access government services online.
“The government is essentially allowing private companies to monitor citizens as they interact with their own government,” said Sarah Collins, a senior researcher at TechJustice. “This is a fundamental breach of trust and raises serious questions about data security and privacy.”
Scope of the Issue
The investigation found that tracking is particularly prevalent on sites that handle sensitive information, such as those related to healthcare benefits, immigration services, and tax filing. For example, the Department of Veterans Affairs website, which processes claims for medical care and disability benefits, was found to include tracking code from Google Analytics. Similarly, the Social Security Administration's online portal, used by millions to apply for retirement and disability benefits, also transmits data to third parties.
“Visitors to these sites may not realize that their every click is being monitored and shared with corporations that have no business being involved in government services,” Collins added.
Lawmakers Express Concern
Several members of Congress have called for an immediate investigation into the practice. Senator Elizabeth Warren (D-MA) stated, “It is unacceptable that federal agencies are allowing private companies to harvest data from Americans who are simply trying to access government services. This must stop.” A bipartisan group of senators has introduced legislation that would ban the use of third-party tracking on government websites, with exceptions only for essential functionality.
However, some officials within the administration have defended the practice, arguing that analytics tools help agencies improve user experience and ensure websites function properly. “We are committed to transparency and will review our data collection practices,” said a spokesperson for the Office of Management and Budget.
Privacy Advocates Demand Action
Privacy advocacy groups have urged the government to immediately remove all third-party tracking code from federal websites. The Electronic Frontier Foundation (EFF) filed a formal complaint with the Federal Trade Commission, alleging that the practice violates federal privacy laws. “The government should be setting an example for data protection, not undermining it,” said EFF attorney David Greene.
The investigation comes amid growing public concern over digital surveillance, following revelations that the National Security Agency has collected bulk data on US citizens. The new findings could further erode trust in the government's ability to protect personal information.
Next Steps
The White House has not yet commented on the specific findings, but a senior administration official told reporters that a review of tracking practices across all federal websites is underway. The official said that the administration is considering new guidelines that would restrict the use of third-party analytics tools.
In the meantime, TechJustice is urging internet users to take precautions, such as using browser extensions that block tracking scripts, when visiting government websites. The organization has also launched a website where users can check whether a particular federal site contains tracking code.



