How to understand website visitor engagement with web analytics is a harder question on a patient website than on most sites. Hospitals, clinics and telehealth providers want to know whether people find a doctor, finish an appointment request or use the portal, but the tools that answer those questions can also send health-related details to third parties.
Marketing, digital and compliance leaders at healthcare providers will find which engagement questions matter, what HHS guidance on tracking technologies says after the 2024 court ruling, how to classify pages by risk, and what may be sent to analytics vendors.
How do you understand website visitor engagement with web analytics on a patient website?
You understand website visitor engagement on a patient website by measuring a few journeys that matter, such as finding a provider and requesting an appointment, with analytics configured per page type, so that general pages are measured normally while condition pages, forms and the patient portal send no health details to vendors without the right agreements.
Measuring a patient website without exposing patients?
We build healthcare analytics that answers engagement questions within your privacy rules.
The work starts with knowing what every tag on the site collects. Most patient websites have accumulated pixels, chat widgets and embedded tools over years, and few teams have a full list.
What does HHS guidance on tracking technologies say now?
HHS guidance on tracking technologies still applies to authenticated pages such as patient portals, but a federal court removed one part of it in 2024, covering certain visits to public pages. Read the current bulletin and its notice before relying on older summaries.
HHS's bulletin on the use of online tracking technologies by HIPAA covered entities and business associates carries a notice that on June 20, 2024, the U.S. District Court for the Northern District of Texas, in American Hospital Association v. Becerra, vacated the guidance to the extent it said HIPAA obligations are triggered when an online technology connects an individual's IP address with a visit to an unauthenticated public webpage addressing specific health conditions or healthcare providers.
The bulletin says a regulated entity must configure user-authenticated webpages that include tracking technologies so those technologies only use and disclose PHI as the HIPAA Privacy Rule permits. It treats a tracking technology vendor that creates, receives, maintains or transmits PHI on the entity's behalf as a business associate that needs a business associate agreement.
The court ruling narrowed the guidance; it did not make every tracking setup acceptable. Other parts of the bulletin, state health privacy laws and FTC rules may still apply, so your privacy officer and counsel should decide how your site is configured. The engineering job is to give them accurate facts and controls that work.
Which engagement questions matter on a patient website?
The engagement questions that matter on a patient website are the ones tied to a patient task or a business decision. Page views alone rarely change anything.
- Can visitors find a location or a provider, and how many go on to contact one?
- How many start an appointment request, and at which step do they stop?
- Which general content pages lead visitors to book, call or sign in?
- Do new portal registrations complete, or fail at identity checks?
- Which pages do visitors reach from search engines, and do they stay or leave at once?
Each question points to a page type, and each page type carries a different level of risk when it is measured.
Which pages carry which risk?
Pages carry different risk depending on whether the visitor is signed in and whether the page reveals something about their health. Classify every template before deciding what analytics may collect on it.
| Page type | Example | What analytics may receive | What to keep out |
|---|---|---|---|
| General pages | Home, careers, visiting hours | Standard page and engagement events | Nothing beyond normal site policy |
| Condition and service pages | A cancer treatment page | Measurement agreed with your privacy officer, ideally aggregate | Advertising pixels that pair the visit with identity |
| Provider and location finder | Search by specialty | Counts of searches and contact clicks | Free-text search terms |
| Appointment request forms | Request a visit | Step completion counts, measured first-party | Form field values and reasons for visit |
| Patient portal | Signed-in pages | Only through tools covered by a business associate agreement | Any PHI to vendors without one |
| Site search | Search results page | Count of searches and results clicked | The query text |
Start with a tracking technology inventory
A tracking technology inventory lists every script, pixel, tag, SDK and embedded tool on the site, with what it collects and where the data goes. Without it, nobody can say what the site discloses.
- Technology: name, vendor and how it loads, directly or through a tag manager.
- Pages: which templates and page types it runs on.
- Data: URLs, page titles, query strings, IP address, cookies, form events or custom events.
- Destination: the vendor's servers, and whether data is shared onward for advertising.
- Agreement: whether a business associate agreement is in place.
- Owner and decision: who requested it, and whether it stays, changes or goes.
On July 20, 2023, the HHS Office for Civil Rights and the Federal Trade Commission jointly warned hospital systems and telehealth providers about the privacy and security risks of online tracking technologies on their websites and mobile apps.
How should engagement events be named?
Engagement events should be named for the action, not the health topic, so the event stream itself reveals nothing about a visitor's condition.
- Use neutral names such as appointment_step_completed, not oncology_appointment_requested.
- Strip query strings and search terms before any URL is sent to a vendor.
- Group condition pages into broad content groups on your side before reporting.
- Never pass form field values, reasons for visit or free text as event parameters.
What may be sent to an analytics vendor?
What may be sent depends on the page type, the vendor's role and the agreements in place, and the final decision belongs to your privacy officer. Engineering can make the safe options easy to choose.
Where a vendor will not sign a business associate agreement, keep it to general pages and aggregate data. Where portal or form measurement is needed, use a first-party or covered tool and keep raw event data inside your own environment.
Review advertising pixels separately from analytics. Their purpose is to connect visits with people for targeting, which is the opposite of what condition pages and portals need.
Measuring forms and the portal without leaking PHI
Forms and portal journeys can be measured with counts collected on your own servers: how many people reach each step, how many complete, and where errors occur. That answers the drop-off question without sending a single field value to a vendor.
Validation errors are especially useful. Counting which field failed validation, without storing what was typed, shows whether a date picker or an insurance field is stopping patients from finishing.
How do you read engagement without tracking individuals?
You read engagement without tracking individuals by reporting on journeys and page groups over time rather than on visitor profiles. The questions that matter to a provider are almost always about the site, not about a person.
- Funnels: share of visitors who move from the provider finder to a contact action, by week.
- Content groups: entrances and onward clicks for broad groups such as services or locations.
- Search demand: counts of searches by category, without storing the typed text.
- Errors: form and portal failures by step, so fixes can be prioritised.
Consent banners help on general pages but do not settle what condition pages and portals may send. Treat consent as one control among several, not as permission to load every tag everywhere.
How do teams set up patient website analytics step by step?
Teams set up patient website analytics in an order that removes risk before adding measurement.
- Step 1: build the tracking technology inventory from a crawl, the tag manager and the page source.
- Step 2: classify every template by page type and risk.
- Step 3: remove or restrict tags that have no owner or no agreement.
- Step 4: define the engagement questions and the events that answer them, with neutral names.
- Step 5: implement measurement per page type and test what each tag actually sends.
- Step 6: review the inventory whenever a tag, vendor or template changes.
What are the common mistakes with patient website analytics?
The common mistakes with patient website analytics come from tags added for marketing without anyone checking what they send.
- Advertising pixels left on appointment forms and portal pages.
- Full URLs with search terms or condition names sent as page views.
- Session replay tools recording form fields on signed-in pages.
- Relying on summaries of the HHS guidance written before the 2024 ruling.
- No inventory, so a tag removed today reappears with the next campaign.
What does privacy-aware analytics mean for the build plan?
Privacy-aware analytics adds an inventory, page classification, first-party measurement for sensitive journeys and a review process to the website plan.
- Plan server-side or first-party collection for forms and portal steps.
- Budget time for testing what each tag sends, not just whether it fires.
- Agree with compliance who approves new tags and how.
- Keep reporting at the level of page groups and journeys, not individual visitors.
How Agnotic helps with patient website analytics
Agnotic Technologies builds analytics for healthcare providers' websites and portals: the tracking technology inventory, page classification, neutral event design, first-party measurement for forms and portal journeys, and engagement dashboards your teams can use. We work with your privacy officer, who decides what is acceptable.
Answer engagement questions without leaking health data
Inventory, classify and measure each page type the right way.
Related reading on Agnotic
Healthcare analytics, compliance and website engineering.


