If you market a healthcare organization, two questions probably follow you around. Which campaigns are actually bringing in patients? And what is our tracking quietly sending to Google? Good news: that’s one conversation, not two.

And no, it doesn’t start with a shiny cookie banner. It starts with deciding which pages and conversions are appropriate to measure, then building your tracking around those decisions. Here’s how we handle GA4 and Google Ads for healthcare clients, with Google’s hard rules kept separate from our own (deliberately cautious) defaults. Quick disclaimer: we’re search marketers, not lawyers! Loop in your legal and privacy teams before you change anything.

The ground rules of Google Ads/GA4/BAA

Let’s rip off the bandage: Google does not offer a Business Associate Agreement (BAA) for Analytics. So HIPAA-regulated organizations can’t expose protected health information (PHI) through GA4, including details that fall outside Google’s narrower definition of personally identifiable information (PII). [1]

Google does sign BAAs for covered Google Cloud and Workspace services under their own terms. That coverage doesn’t stretch to GA4, and it doesn’t bless an advertising data pipeline. [2]

A few more non-negotiables:

  • URLs, page titles, event parameters and UTM tags stay squeaky clean of prohibited personal info. [3]
  • User-provided data collection (hashed customer fields) is off-limits for properties in the Health industry category. [4]
  • Google Ads is just as strict about identifying info in remarketing and tracking tags. Enhanced conversions and Customer Match have policy exceptions, but those exceptions don’t make sensitive health data eligible. [5]

HIPAA, Google policy and broader privacy laws each need their own sanity check. Passing one doesn’t mean you passed the others.

So what’s left of the HHS tracking guidance?

Remember the panic? HHS issued its tracking technology guidance in December 2022 and updated it in March 2024. Then on June 20, 2024, a federal court in Texas vacated one piece: the idea that an IP address plus a visit to an unauthenticated public health page was enough, by itself, to trigger HIPAA. [6]

The catch: the rest of the bulletin survived. HHS still publishes it with a note about the ruling. Patient portals, appointment forms, symptom checkers and login screens are still high-risk zones. What you collect and share is what matters, and a pop-up consent banner is not a HIPAA authorization. [7]

Step 1: Sort your pages into three buckets

Grab your sitemap (and your privacy team) and walk real user journeys together. Check forms, redirects, embedded widgets, subdomains and mobile apps.

Page group Examples Recommended approach
Authenticated patient pages Patient portals, telehealth dashboards, prescription refills, bill payment Exclude Google Analytics. Our default is to keep advertising measurement out of these flows too.
Public pages connected to health services Appointment tools, symptom checkers, portal login and registration, provider and condition content Hold for review. Exclude flows that would disclose prohibited data. Assess informational pages separately from forms that collect patient details.
Public general business pages About us, partnerships, enterprise services, careers Potentially eligible after reviewing the data sent, linked destinations and applicable consent requirements.

Don’t assume bucket three is automatically safe. URLs, referrers and embedded forms can carry sensitive data over from an earlier step in the journey.

What we do: Apply GTM exclusion rules to every relevant tag. Trigger exceptions work at the tag level, and tag sequencing can sneak right around them. [8] Audit hardcoded tags, plugins and third-party containers too. Then test the excluded journeys with tag diagnostics and real network requests, and document what happens when people bounce between public pages and excluded flows.

Step 2: Teach GA4 to collect less

For pages cleared for measurement, these settings trim the excess. (They won’t make an unsafe data stream okay, though!)

  • Verify redaction. Admin > Data collection and modification > Data streams > your web stream > Events > Redact data. Confirm email redaction is on (it’s the default for new properties) and add any query-parameter names that might carry prohibited info. [9]
  • Know where redaction stops. It’s best-effort, applies to web streams, and doesn’t cover Measurement Protocol or Data Import. It can redact specified query parameters in the page_referrer field, but it doesn’t inspect HTTP headers like Referer. Test it rather than trusting it. 
  • Pause the chatty auto-events. We leave Form interactions and Site search off until reviewed. Form events record things like form IDs and destination URLs (not every answer, by default); site search can record search terms. Turning them off won’t scrub query strings from page views or stop separate custom events. [10]
  • Keep thank-you pages boring. A static /thank-you/ URL keeps form answers out of the address bar. Still check the page title, referrer and event context. Renaming a patient conversion doesn’t make the underlying disclosure acceptable. 
  • Be deliberate with identifiers. Skipping User-ID is our conservative default, not a Google ban. If you need it for an eligible use, review the identifier and purpose first. User-ID is separate from user-provided data collection, which stays restricted for the Health category. [11], 
  • Treat patient apps separately. We exclude Analytics/Firebase measurement and ad tracking from patient health flows pending review. That doesn’t mean every Firebase product is off-limits in healthcare. 

A quick word on IP addresses: geography matters. In the EU, UK and Switzerland, Google says it derives location and drops the IP before logging. Elsewhere, IPs are used for coarse location and spam detection, and may flow into linked Google Ads accounts depending on your settings. Walk through the regional details with legal. [12], [13]

Step 3: Keep Google Ads enhanced conversions off health conversions

Enhanced conversions send hashed customer data (like email addresses) to improve attribution. Google’s Customer Data Policies don’t allow them for sensitive health categories, including medical services, prescriptions and device purchases. And no, hashing doesn’t get you around that. [14], [15]

Non-sensitive business lines (say, enterprise B2B software) might qualify after their own review. Just never put enterprise leads and patient appointments in the same measurement basket.

Google Ads now uses unified settings for web and lead enhanced conversions, with opt-outs at the conversion-action level. [16]

What we do: Audit account settings, every conversion action, tag settings and connected upload streams. Pulling a tag off the page won’t stop a CRM integration from passing prohibited data via API. For health conversions, shut off every data-sharing pathway and recheck your Customer Match lists. A button existing in Google Ads doesn’t make it compliant for health data.  

Step 4: Handle offline Google Ads conversions with care

For approved, non-patient flows like B2B leads, GCLID-based offline conversion imports connect ad clicks to pipeline milestones without uploading emails. They just take precise setup. [17]

With auto-tagging on, Google adds a click ID (GCLID) to your destination URLs. Your site has to capture it, carry it through the journey and store it in a hidden CRM field. (HubSpot and Salesforce won’t do that properly out of the box.)  When importing, match the approved milestone to the GCLID, conversion action and timestamp, and double-check the current requirements for your upload method. [18]

One catch: a GCLID is a linkable, pseudonymous identifier. Google’s contracts define PII in specific terms, but broader privacy laws can treat pseudonymous IDs as personal data. Review the click ID, milestone, timestamp and business context together with your privacy team. [19]

What we do: Use only pre-approved, non-patient fields. Calling something a “qualified lead” doesn’t erase a patient relationship underneath. Keep patient info out of offline imports entirely, and inspect every CRM sync before it goes live.

Step 5: Put guardrails on your Ads campaigns

  • Keep health interests out of targeting. Google restricts personalized ads involving sensitive health content. Advertiser-curated audiences, including Customer Match and your data segments, aren’t permitted for this category. Some predefined audiences remain available, and custom segments come with contextual and campaign limits. They aren’t a backdoor to targeting inferred patient conditions. [20]
  • Check the professional-audience rules. Content aimed at healthcare professionals acting in their professional capacity is excluded from the Health sensitive-interest restriction, but other policies still apply. Personalized promotion involving restricted drug terms needs separate certification, and that program is limited to advertisers in the US, Canada and New Zealand. [21], [22]
  • Run recruiting ads by employment rules. Employment ads serving in the US and Canada face restrictions on age, gender, marital status, parental status and ZIP/postal-code targeting. Use permitted geography and review the exceptions, including Canadian forward sortation areas and specified Unknown demographic categories. Radius targeting is allowed at a 1 km minimum, subject to privacy thresholds. [23], [24]
  • Keep search intent on target. For B2B campaigns, review search terms and add patient-intent negatives where they fit. Check terms like “patient portal” or “doctor near me” against the actual offer before excluding them.
  • Go easy on AI Max. We keep final URL expansion and text customization off until reviewed. Final URL expansion can pick other landing pages, and turning it off doesn’t review your existing ad URLs, sitelinks or URL inclusions for you. Check those too, agree on copy limits (no unapproved clinical outcome claims) and set up monitoring before enabling generated assets. [25]

Want tighter control? Look at server-side tagging

Once legal has drawn the lines, server-side Tag Manager adds a handy buffer. It runs in an environment you control (like your own Google Cloud project) and can strip or transform parameters before data ever reaches third-party tools. [26], [27]

Reality check: it only controls traffic routed through it. Client-side tags can still leak, and your server container receives the incoming request data itself. Great tool, not a magic wand. It won’t turn Analytics or Google Ads into a HIPAA-compliant setup.

Document your rules, exclusions and approved workflows, and recheck them whenever a new campaign, landing page or form launches. Your privacy reviews should move as fast as your team ships.

Our take

A good measurement plan helps your team make smart decisions with data you’re actually allowed to collect. Boundaries first, dashboards second: lock in the legal lines for pages and conversions, then hand your marketers clear rules they can build and test.

Not sure where your setup stands? Our GA4, tracking and privacy guide for 2027 is a good place to start. Want a second set of eyes? Our healthcare marketing and tracking and analytics teams are happy to take a look. And really, there’s no such thing as a dumb question.