Tracking Pixels and HIPAA: What Practices Should Check

What tracking pixels collect, what HHS guidance says after the 2024 court ruling, and how to audit the scripts on your practice website.

Many practice websites carry small pieces of code from other companies: analytics, advertising pixels, session recording, chat tools, maps and video players. They are easy to add and easy to forget. Some can send information about a visitor to the company that provides them.

This guide explains what to check, in plain language, for practices in the United States. It is general information and not legal advice. The law in this area has changed and can change again, so involve your privacy officer or attorney. Our security and HIPAA approach describes how we handle these questions in our own work.

What a tracking technology is

A tracking technology is code or a tool that collects information about how someone uses a website or app. A pixel is one common form: a small script or image request that reports a page view or action to another server.

Technology What it commonly does
Analytics script Measures visits, pages and actions
Advertising pixel Links visits to ads and audiences
Session recording Replays clicks, scrolling and sometimes typing
Heatmap tool Shows where people click
Chat widget Collects messages and visit details
Embedded video or map May set cookies and record views
Tag manager Loads other scripts, often without a developer

Depending on configuration, the data can include page address, page title, internet address, device details, an identifier, buttons pressed and text entered in forms.

Why healthcare websites are different

On a shoe shop, a record that someone viewed a page reveals little about their private life. On a medical website, the page address might name a condition, a procedure or a provider, and an action might show that a person requested an appointment. Combined with something that identifies the person, that can be sensitive health information.

What HHS guidance says now

The HHS Office for Civil Rights published guidance on online tracking technologies. On June 20, 2024, a federal court in Texas set aside part of it. The vacated part concerned the idea that HIPAA duties arise when an internet address is connected with a visit to a public, unauthenticated page about health conditions or providers. HHS has said it is evaluating next steps.

That ruling did not make all tracking acceptable. The remaining guidance still matters, and other laws can apply.

Page type What the guidance indicates
Signed-in pages such as a portal Tracking there can access protected health information and must meet the Privacy and Security Rules
General public pages such as visiting hours or jobs Generally no protected health information
Public pages that capture appointment requests, symptom entries or sign-in and registration details Protected health information can be involved

Business associate agreements with tracking vendors

Where a tracking vendor receives protected health information in performing a function for you, the guidance treats it as a business associate, which requires a business associate agreement and a use that the Privacy Rule permits.

A line in your website privacy policy does not by itself permit the disclosure. HHS also states that a cookie banner asking visitors to accept tracking is not a valid HIPAA authorization.

If a vendor will not sign an agreement, you should not send it protected health information unless another lawful basis applies, such as a proper patient authorization. Some organizations place a service under an agreement between the website and the vendor to remove identifying details first. Whether that works depends on careful configuration and review.

Other laws and risks to consider

HIPAA is not the only source of duties. The Federal Trade Commission has acted on health information shared through online tools, several states have consumer health privacy laws and private lawsuits have been filed over website tracking, including under wiretapping and privacy statutes. Organizations that are not HIPAA covered entities may still have obligations. Ask counsel which apply where you and your patients are.

Step 1: Find everything that loads

Do not rely on memory. Check the website itself.

  • List plugins, theme settings and header or footer code boxes
  • Open the tag manager and export every tag
  • Use the browser developer tools to watch network requests
  • Run a reputable privacy scanner
  • Check booking, form, chat and payment embeds
  • Look at mobile apps and email tracking too
  • Ask past agencies and staff what they added

Test more than the home page. Visit a condition page, submit a test form with invented details, start a booking and sign in with a test account.

Step 2: Make an inventory

Column Record
Tool and company Exact product
Where it loads Which pages or app screens
Data sent Observed in testing
Purpose The business reason
Owner Who in the practice decides
Agreement Signed or not
Decision Keep, restrict, replace or remove
Review date When to check again

If nobody can explain why a tool is there, remove it.

Step 3: Classify your pages

Group Examples Cautious starting position
Signed-in Portal, results, messages No third party tracking unless reviewed and covered
Health actions Appointment request, intake, symptom tool, registration No advertising pixels or recording
Health topics Condition and service pages Minimal measurement, reviewed with counsel
General Careers, directions, news Standard measurement after review

Because of the court ruling and changing law, your adviser may reach a different position for public pages. Write down the reasoning.

Step 4: Reduce what is collected

  • Remove tools you do not use
  • Keep advertising pixels off sensitive pages
  • Turn off form field capture and automatic event collection
  • Do not put names, emails or conditions in page addresses
  • Strip query strings that contain personal details
  • Disable session recording on forms and signed-in areas
  • Load video and maps only after a visitor chooses
  • Limit who can publish tags

A tag manager makes adding code easy for anyone with a login. Treat that login like access to your records: individual accounts, two factor sign-in and a record of changes.

Step 5: Review forms specifically

Forms are where people type the most sensitive details. Check that no script reads the fields, that confirmation page addresses contain nothing personal and that email notifications do not carry health information. Ask only for what you need to respond.

Measuring marketing with less risk

Practices still need to know what works. There are ways to learn without collecting more than necessary.

Question Lower risk approach
Which searches bring visitors Search Console totals
How many people called Phone system counts, reviewed for vendor duties
How many requests arrived Count submissions in your own system
How did patients hear of us Ask at the front desk
Is a campaign working Compare totals by period and landing page

These give less detail than a full advertising setup. That is a trade-off to make deliberately.

Advertising pixels and audiences

Building audiences from visitors to condition pages or uploading patient lists to ad platforms raises serious privacy and policy problems. Advertising platforms also restrict personalized targeting based on health. Get legal review before any such use, and read about our Google Ads management.

Consent notices

A consent banner may be required by some laws and can give visitors real choice. It does not replace a business associate agreement or a HIPAA authorization. If you show choices, make sure the scripts actually obey them: test with consent refused and watch the network requests.

Vendor questions

  • What exactly does your script collect by default
  • Can we turn off collection of form values and addresses
  • Do you use the data for your own purposes
  • Will you sign a business associate agreement, and for which products
  • Where is data stored and for how long
  • How can we delete it

If you find a problem

Stop the collection where you can. Preserve records of what was installed, when and on which pages; do not destroy evidence. Tell your privacy officer and counsel promptly. They will assess whether the facts amount to a breach and what notices, if any, are required. Fix the cause, such as who can add code, not only the one script.

Keeping it under control

When Check
Before adding any tool Review purpose, data and agreement
Monthly Look for new tags and plugins
After redesigns and updates Repeat the network test
Yearly Full inventory and legal review

Add website scripts to your risk analysis so that they are not treated as a marketing detail alone. Your host and developer should know the rule too. See server and hosting services and website development.

How information leaks without anyone intending it

Most problems come from ordinary setup choices rather than a decision to share patient information.

Cause What happens Fix
Descriptive page addresses A condition or procedure name travels with every page view Keep tracking off those pages or limit the address sent
Search boxes Typed symptoms appear in the address Do not place search text in addresses sent to vendors
Confirmation pages Name or email appears in the address after submitting Remove personal details from addresses
Automatic event capture Button labels and field values are collected Turn the feature off
Default session recording Typing is replayed Disable on forms and signed-in areas
Template reuse The same header loads every tag on the portal Separate public and signed-in templates

Check each of these on your own site, even if you believe your setup is simple.

How to run a basic network test

Someone comfortable with a web browser can do a first check. Use invented details only.

  • Open a private browsing window
  • Open the developer tools and select the network panel
  • Load a condition page and note requests to other companies’ domains
  • Click appointment and phone buttons and watch what is sent
  • Fill a form with test details and submit it
  • Search the requests for the test name and email
  • Refuse consent in the banner and repeat
  • Save screenshots with the date

This will not find everything. Some data is sent from servers rather than the browser, and encoded values are easy to miss. A technical reviewer can go further.

Server side tracking and conversion feeds

Some tools send events from your server or from a booking system straight to an advertising or analytics company. Visitors and browser tools do not see this. Moving collection to a server can give you more control over what is sent, but it does not make the sharing permitted. List server side connections, scheduled exports and uploaded files in the same inventory as website scripts.

Email, text and mobile apps

Tracking is not limited to websites. Email tools may record opens and clicks, links in texts may pass through a tracking domain and mobile apps often include software kits from other companies. Review each with the same questions: what is sent, to whom, for what purpose and under which agreement.

A worked example

Consider an illustrative practice with an analytics script, an advertising pixel, a chat widget and a session recording tool, all loaded on every page by one template.

Tool Finding Possible decision
Advertising pixel Loads on appointment request and condition pages Remove from those pages; legal review for any other use
Session recording Captures typing in the intake form Remove from the site
Chat widget Visitors describe symptoms; no agreement Obtain an agreement or replace
Analytics Sends full page addresses Review pages, limit data and confirm vendor terms
Tag manager Four former contractors still have access Remove accounts and require two factor sign-in

The example is not advice for your case. It shows that one afternoon of listing and testing can reveal several separate decisions.

Setting a simple tag policy

A short written rule prevents the problem from returning.

  • No new script, plugin or pixel without approval from a named person
  • Every request states purpose, data and vendor
  • Sensitive and signed-in pages are off limits by default
  • Agencies work under the same rule and use their own accounts
  • Changes are logged
  • The inventory is reviewed on a set schedule
  • Tools are removed when a campaign ends

Share the rule with anyone who manages your website, including your marketing partner. Ask them to confirm it in writing.

Talking to your marketing agency

An agency may rely on pixels to report results, so discuss the limits early. Agree which numbers will be used, such as calls and requests counted in your own systems, and accept that some advertising reports will be less detailed. A good partner will explain what each tool sends and will not add code without asking. Be cautious of anyone who says tracking is fine because everyone does it.

What leadership should know

Owners and boards do not need technical detail. Give them four things: which outside companies receive data from the website and apps, which of those have agreements, what the legal adviser has concluded and what is being changed with dates. Report again after the changes are tested.

Signs your setup needs attention now

  • Nobody can list the scripts on the site
  • A former agency still controls the tag manager
  • Advertising pixels run on the portal sign-in page
  • Forms send notifications with health details
  • The consent banner does not change what loads
  • No agreement exists for a chat or form tool that receives patient details

If any of these apply, start with removal or restriction and then seek advice. Reducing collection is usually quick, while reconstructing what was sent months ago is not.

Documenting your decisions

Keep the inventory, test results, vendor agreements, legal advice and dates of changes in one place. A written record of why a tool was kept, restricted or removed helps the next person and shows that the choice was considered rather than accidental. Update it when guidance or court decisions change.

Pages that deserve a closer look

Page Why it is sensitive What to check
Appointment request Shows intent to receive care Field capture, confirmation address, pixels
Condition or procedure page Suggests a health interest Advertising pixels and audience tags
Provider profile May reveal a specialty being sought What the page address and title send
Symptom checker Direct health information Every outside request
Portal sign-in and registration Identifies a patient relationship No third party tags unless covered
Bill payment Links identity to care and payment Vendor agreements and address contents
Careers Usually unrelated to patients Standard review

The sensitivity depends on what is actually sent. Test rather than guess from the page name.

Removing a tool safely

Deleting one line of code may not remove a tool. It can also be loaded by a plugin, a tag manager, a theme setting or an embedded widget. After removal, clear caches and run the network test again. Close the vendor account if no longer needed, ask about deletion of data already collected and keep the written response. Check that appointment forms and measurement you intend to keep still work.

If you rebuild your website

A redesign is a good moment to start clean. Begin with no third party scripts and add only those that pass review. Ask your developer to separate templates for signed-in, sensitive and general pages, to host fonts and other assets on your own server where practical and to document every outside connection at handover. Include a network test in the launch checklist and repeat it a month later, because additions often appear soon after launch. Ask for this documentation in the contract rather than at the end of the project, so that it is planned and paid for, and keep a copy in your own records and not only with the developer.

Staff awareness

Tell the people who manage marketing and the front office why this matters in a few plain sentences. A new plugin, a free chat tool or a pasted snippet from an email can start sending data the same day. Give them an easy way to ask before installing, and thank them for asking. Include a short reminder when new staff or agencies receive access to the website.

Questions leadership often asks

Leaders usually want to know whether removing tools will hurt marketing. Some reporting will become less detailed, especially for advertising. Calls, requests and booked visits counted inside your own systems still show whether efforts are working, and these are the numbers that matter to the practice. Set the new measures before changing the scripts so that you can compare before and after.

Working with your privacy officer

Bring evidence, not only opinions. A one page table of tools, the pages where they load, what the network test showed and whether an agreement exists lets your privacy officer and counsel decide quickly. Record their decision and the date, then confirm technically that the website now behaves as decided. Repeat that confirmation after the next redesign or plugin update, because settings can return to their defaults.

When you are unsure

If you cannot tell what a script sends, treat that as a reason to pause it on sensitive pages until you can. Ask the vendor for written detail and test again. Pausing a measurement tool for a few weeks is a small cost compared with sending health information to a company that should never have received it.

Related guides:

Frequently asked questions

Did the 2024 court ruling make tracking pixels legal for practices?

No. It set aside one part of the guidance about certain public pages. Other duties remain.

Can we use Google Analytics on a medical website?

It depends on which pages, what is sent and whether the vendor will accept the required duties for that use. Check the vendor’s current terms and ask counsel before installing it on sensitive pages.

Is an internet address personal information?

It can identify a person, especially combined with other details. How a law treats it depends on context.

Does a privacy policy notice solve the issue?

No. HHS says a privacy policy disclosure alone does not permit sharing protected health information with a vendor.

Who should own this in a small practice?

The privacy officer, with help from whoever manages the website.

Your next step

Open your tag manager and plugin list and write down every tool. For each one, answer what it sends and why. If you want a second pair of eyes on your website, read what our free audit covers and contact us. Hospitals and larger groups can see our hospital services.

Free audit

Get this checked for your practice.

We review your website, hosting, search visibility and campaigns, then send a written list of priorities. No obligation.

In this guide

01 / Keep reading

More from the blog.

Practical guides for healthcare providers.

The Google Ads healthcare policy areas to check before launching: restricted categories, certification, prohibited claims, targeting and privacy.
December 5, 2026
How fertility clinic websites can build trust through clear information, honest success data, costs, privacy, inclusion and accessibility.
December 5, 2026
How US healthcare organizations can work with an offshore development team safely: contracts, data access, communication, quality and handover.
December 5, 2026

02 / Free audit

Request your free audit.

Share a few details and we will review where you stand today, then send a clear, written list of priorities.

Prefer WhatsApp? Use the WhatsApp link at the top of the page.

Free audit

Request your audit