Warning signs include unexpected data appearing in advertising or analytics environments, patient complaints about information they never knowingly shared, and questions about how portal activity was collected or transmitted. Security and privacy teams should also look for pixel deployments inside authenticated patient areas, because that is where portal interactions can cross from routine web tracking into sensitive health information exposure.
What the Warning Signs Usually Look Like
The most reliable signs are downstream: data that appears in ad-tech, analytics, or other third-party environments when it should have stayed inside the portal, plus patient reports that content surfaced in places they never knowingly consented to share. That pattern usually means tracking requests are carrying more than benign telemetry, especially if the portal is authenticated and the activity is tied to identifiable patient sessions.
A second signal is collection mechanics that do not match the privacy story. If a portal page loads third-party pixels, tags, or scripts before the team can explain exactly what they collect, where they send it, and under what consent or notice, that is a strong indicator that sensitive health context may be leaving the site through a tracking path rather than a formal integration.
One useful reference point is NHIMG’s The State of Non-Human Identity Security, because third-party scripts and integrations often depend on credentials, tokens, or other machine-access material that can widen exposure if they are over-permissive or poorly governed.
For teams looking at the broader risk pattern, the OWASP Non-Human Identity Top 10 is also relevant because it frames how secret sprawl, overprivilege, and third-party exposure turn routine integrations into privacy and security problems.
What To Check In The Portal Stack
Start with the authenticated patient journey, not the public homepage. The highest-value evidence is whether pixels, tag managers, session replays, or marketing libraries are present after login, because that is where visit context, appointment details, medication views, and other sensitive interactions can become observable to third parties. If those tools are present there, the question is not just whether they are installed, but what fields, page events, and identifiers they receive.
Teams should also verify whether any data is being transmitted through browser-based parameters, hidden form fields, DOM reads, or event callbacks that may expose protected content indirectly. That is especially important when “masked” or “anonymised” fields still preserve enough context to be reconstructable once they leave the portal. In practice, the safest assumption is that authenticated page activity can become sensitive data unless the collection path is tightly constrained and documented.
If the portal uses a tag governance or consent platform, compare the intended policy with what actually fires in the browser. In many investigations, the problem is not a single malicious integration but a mismatch between the approved data map and the real implementation, which is why tag inventory and network inspection need to be reviewed together.
NHIMG’s iOS app secrets leakage report is a useful adjacent example of how privacy harm often comes from ordinary application telemetry and embedded secrets rather than from an obvious breach path.
The OWASP API Security Top 10 also helps frame the problem when portal events are relayed through APIs, because overbroad data exposure and broken authorization often show up first as “just telemetry” before they become a direct privacy incident.
Risk and Threat Considerations
Patient portal tracking becomes risky when the collection layer is trusted to observe behaviour but ends up transmitting content, identifiers, or event context that can be tied back to a person’s health information. The most common failure mode is not one dramatic exfiltration event, but quiet overcollection, where third-party tags receive more context than the business or privacy team intended.
Failure mechanism: Pixels, tags, or embedded scripts inside authenticated areas can capture page URLs, form contents, search terms, click paths, or session-linked identifiers and relay them to external services, creating a privacy leak even when the portal itself appears to function normally.
Impact: The result can be disclosure of sensitive health data, unexpected reuse of patient information in advertising or analytics systems, regulatory exposure, and loss of trust that is hard to reverse once patients realise their portal activity was observed outside the provider environment.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 — Secret Sprawl and Credential Exposure | Third-party portal tracking often depends on machine-access material and external integrations. |
| NHI-04 — Overprivileged Access | Tracking tools should only receive the minimum data and access needed for telemetry. | |
| Recommendation — Inventory embedded trackers and restrict the credentials or tokens they can use. Minimise what trackers can read, collect, and transmit from authenticated sessions. | ||
| NIST CSF 2.0 | PR.DS — Data Security | This question concerns unintended disclosure of sensitive patient data through tracking paths. |
| DE.CM — Continuous Monitoring | Detecting third-party leakage depends on monitoring browser-behaviour and outbound destinations. | |
| Recommendation — Classify and protect portal telemetry paths that can expose sensitive data. Monitor authenticated portal traffic for unexpected third-party data flows. | ||
| CIS Controls v8 | 6 — Access Control Management | Third-party tracking should be limited to authorised, purpose-bound data access. |
| Recommendation — Restrict embedded tools to approved data paths and review their access regularly. | ||
Practitioner Guidance
What to verify: Confirm whether any third-party code runs after login, what exact fields it can see, and whether the browser ever sends patient-linked identifiers to an external domain. If the answer is unclear, treat the implementation as untrusted until a full tag and network review proves otherwise.
Decision rule: If a tracking tool can observe authenticated patient activity, it should be governed as a sensitive data path, not as routine marketing instrumentation. The right question is whether the tool can be constrained to non-sensitive metadata, not whether the vendor says the tool is “privacy friendly”.
What good looks like: Every tracker in the portal has a documented purpose, a bounded data scope, and a verifiable destination list, and security or privacy teams can reproduce that behaviour from the browser rather than relying on vendor assurances.
Practitioner takeaway: The strongest indicator of leakage is not the presence of analytics itself, but any authenticated portal instrumentation that can see more patient context than the organisation is prepared to disclose, store, or defend.
Related resources from NHI Mgmt Group
- What happens when manufacturers share sensitive data with third parties without strong access controls?
- How should banks implement RBI compliance when third parties handle sensitive financial data?
- Who should own GLBA data protection when sensitive information is shared with third parties and customers?
- How should security teams govern external collaboration when third parties need access to sensitive data?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 19, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org