/ โ† GDPR Fixes / GDPR vs CCPA vs HIPAA
In this guide
  1. Three laws with three different jobs
  2. GDPR, CCPA and HIPAA side by side
  3. How to work out which laws apply to you
  4. What to change on the site for GDPR
  5. What to change on the site for the CCPA
  6. What to change on the site for HIPAA
  7. The fix, step by step
  8. Edge cases worth knowing
  9. Keeping it right
  10. Questions and answers

Three laws with three different jobs

The quickest way to understand the difference is to ask what each law protects and who it binds.

So the questions are not alternatives. Asking GDPR or CCPA is really asking whether you have UK or EU visitors and whether you are a sizeable business with Californian customers. Asking GDPR or HIPAA is asking whether you serve people in Europe and whether you are part of the US healthcare system. Both answers can be yes.

๐Ÿ’ก Many more US states now have their own consumer privacy laws, with thresholds and rights broadly similar to California's. If the CCPA applies to you, check the other states where you have customers as well.

GDPR, CCPA and HIPAA side by side

GDPR and UK GDPRCCPA and CPRAHIPAA
ProtectsPeople in the EU or UKCalifornia residentsPatients and health plan members
Data coveredAny personal dataPersonal information, with extra rules for sensitive informationProtected health information only
Who must complyAny size of organisation in scopeBusinesses over the thresholds belowCovered entities and business associates
Size thresholdNoneRevenue over $25 million (inflation adjusted), or 100,000 or more consumers or households, or half of revenue from selling or sharing dataNone, but only for healthcare roles
Basic modelNeed a lawful basis; opt-in consent for cookies and marketingNotice and opt-out of sale and sharingUse only for treatment, payment and operations unless the patient gives written permission
Request deadlineOne month, extendable by two45 days, extendable by 4530 days for access, extendable by 30
Breach reportingRegulator within 72 hours if there is a riskNotice to affected residents under California breach lawIndividuals within 60 days; HHS as well
Contracts with vendorsData processing agreementService provider contractBusiness associate agreement

The biggest practical difference for a website is the consent model. Under GDPR and PECR you ask first and set non-essential cookies only after a yes. Under the CCPA you may collect by default, but you must say what you collect at or before collection and let people opt out of their data being sold or shared for cross-context behavioural advertising.

How to work out which laws apply to you

Answer these questions in order and write the answers down; they form part of your records.

  1. Are you established in the UK or EU? If yes, GDPR applies to everything you do.
  2. If not, do you target people there? Prices in pounds or euros, delivery to Europe, local language pages or advertising aimed there all point to yes. So does tracking their behaviour with analytics or advertising cookies.
  3. Do you do business in California? If so, check the three CCPA thresholds against your last calendar year. Revenue counts worldwide, not only Californian sales.
  4. Are you a healthcare provider that bills insurers electronically, a health plan, or a clearinghouse? If yes, HIPAA applies to your patient information.
  5. Do you handle health information for one of those? A developer, host or marketing agency working for a clinic is likely a business associate.

Your server logs and analytics show where visitors come from. A quick look at country data tells you whether UK or EU visitors are more than occasional, and checkout data shows where you ship.

โš ๏ธ A health or wellness app that is not part of the healthcare system is usually outside HIPAA, but that does not mean health data is unregulated. The US Federal Trade Commission's Health Breach Notification Rule and state laws can apply, and under GDPR health data is special category data needing extra conditions.

What to change on the site for GDPR

If you are outside the UK and EU but GDPR applies, you may also need a representative there. The full ordered list is in the GDPR compliance checklist.

What to change on the site for the CCPA

If you sell or share personal information, which includes letting advertising pixels collect data for cross-context behavioural advertising, you need a clear link in the footer:

<footer>
  <a href='/privacy-choices'>Do Not Sell or Share My Personal Information</a>
</footer>

A single Your Privacy Choices link with the official icon can replace it. The page it leads to must let visitors opt out without creating an account.

You must also treat a Global Privacy Control signal as a valid opt-out. Browsers and extensions that support it send a Sec-GPC: 1 request header and expose a JavaScript property:

if (navigator.globalPrivacyControl === true) {
  // Treat as an opt-out of sale and sharing:
  // do not load advertising pixels for this visitor
  window.optOutOfSale = true;
}

On the server you can check the header instead, for example in nginx with $http_sec_gpc. Other items for the site:

What to change on the site for HIPAA

For a covered entity, the website risk is usually not the brochure pages but anything that ties a person to health information: appointment forms, symptom checkers, patient portals and the tracking tags that run on them.

To see which third parties a patient page talks to, list the hosts in the DevTools Network panel while you are signed in, and check each one against your list of signed agreements.

The fix, step by step

Step 1

List where your visitors and customers are

Check analytics country reports, checkout addresses and your customer list to see whether you have people in the UK, the EU and California. Note whether you deliberately market to any of those places, for example with local currency, shipping or advertising. Write the results in a short scope note. You now know which of the location-based laws you need to test further. Keep the evidence you used with the note.

Step 2

Test the CCPA thresholds

If you do business in California, check last year's figures against the three thresholds: annual revenue over the inflation-adjusted $25 million, personal information of 100,000 or more California consumers or households, or half your revenue from selling or sharing personal information. Meeting any one brings you into scope. Record the figures you checked and the date in your scope note. Recheck them each new year.

Step 3

Check whether HIPAA applies

Decide whether you are a covered entity, meaning a provider that bills health plans electronically, a health plan or a clearinghouse, or whether you handle patient information for one as a business associate. If neither, HIPAA does not apply, but note any health data you collect so you can treat it carefully under GDPR or US consumer health rules. Record the conclusion and the reason.

Step 4

Map your trackers and forms

Open your main pages, forms and any logged-in area with the DevTools Network panel and list every third-party host. Mark which ones are analytics, advertising, chat, forms or embeds, and which pages they load on. This list shows where consent, opt-out or business associate agreements are needed. You are done when every host is labelled with its purpose and the pages it runs on. Repeat it while signed in to any account area.

Step 5

Apply the GDPR changes

If GDPR applies, install a consent banner that blocks non-essential cookies until the visitor agrees, with Reject all beside Accept all. Update the privacy notice with lawful bases, recipients, transfers, retention and rights, and add unticked opt-in boxes for marketing. Accept processor agreements with your providers. Confirm in a private window that no tracker loads before consent, and that rejecting keeps analytics and advertising cookies off on later pages.

Step 6

Apply the CCPA changes

If the CCPA applies and you sell or share data, add a Do Not Sell or Share My Personal Information link or Your Privacy Choices link in the footer. Make your scripts read navigator.globalPrivacyControl or the Sec-GPC header and treat it as an opt-out. Update the privacy policy with the California disclosures and request methods, then test with a GPC-enabled browser. Record the date you tested it.

Step 7

Apply the HIPAA changes

If HIPAA applies, remove advertising and analytics tags from appointment forms, patient portals and other pages that link a person to health information, unless the vendor has signed a business associate agreement. Route form submissions into a covered system and get agreements from your host, form and email providers. Repeat the Network panel check while signed in to confirm no unexpected host receives requests. Keep the agreements on file.

Step 8

Record decisions and set a review date

Save your scope note, tracker map and the agreements you collected in one folder, with the date of each decision. Put a yearly review in your calendar, and an extra one whenever you enter a new market, pass a revenue threshold or add a new tool to forms or logged-in pages. Run a GDPR scan after each review to confirm the site still behaves as recorded. Keep earlier notes for comparison.

Edge cases worth knowing

Keeping it right

  1. Write down which laws apply and why, and revisit the decision each year when revenue, customer numbers or markets change.
  2. Build one banner and one privacy setup that satisfies the strictest law that applies, and add the CCPA link and GPC handling on top where needed. This is simpler than separate versions per region.
  3. Check every new tag or plugin against all applicable laws before it goes live, especially on forms and logged-in pages.
  4. Keep vendor agreements of each type in one place: data processing agreements, service provider terms and business associate agreements.

A GDPR scan shows which trackers your pages load and whether they wait for consent, and the GDPR guide explains the European rules in more depth.

Questions and answers

1. What is the main difference between GDPR and CCPA?

GDPR is an opt-in law that covers any organisation handling personal data about people in the UK or EU, while the CCPA is largely an opt-out law covering larger businesses with California customers. Under GDPR you need a lawful basis for every use and consent before setting non-essential cookies. Under the CCPA you can collect by default but must give notice and let people opt out of their data being sold or shared. GDPR has no size threshold, whereas the CCPA only applies above set revenue or data levels.

2. Does the CCPA apply to my small business?

Only if you are a for-profit business doing business in California and meet at least one threshold. Those are annual worldwide revenue above the inflation-adjusted figure of $25 million, buying, selling or sharing personal information of 100,000 or more California consumers or households, or earning half or more of your revenue from selling or sharing personal information. Most small businesses fall below all three, so the CCPA does not apply, though other California rules on data breaches and privacy policies may still do so.

3. Does GDPR apply to a US company?

Yes, if the company offers goods or services to people in the UK or EU, or monitors their behaviour online. Shipping to Europe, pricing in euros or pounds, or advertising aimed at European visitors are signs that you are targeting them. Tracking European visitors with analytics or advertising cookies can also count as monitoring. A US company with only occasional, untargeted European visitors may be outside scope, but if GDPR applies it may also need to appoint a representative in the UK or EU.

4. Is HIPAA the same as GDPR for health data?

No. HIPAA only covers protected health information held by US healthcare providers that bill electronically, health plans, clearinghouses and their business associates. GDPR covers all personal data about people in the UK or EU, and treats health data as special category data that needs an extra legal condition. A fitness app outside the US healthcare system is usually not under HIPAA, but if it has European users it is under GDPR. An organisation can be subject to both laws at once.

5. Can I use Google Analytics on a HIPAA-covered website?

Only with great care, and not on pages that link a person to their health information. Google states that its standard analytics product is not intended for protected health information and it does not sign business associate agreements for it. US health regulators have warned that tracking tags on patient portals and similar pages can disclose protected health information. Many covered entities therefore remove analytics from logged-in and appointment pages entirely, or use an analytics service that will sign a business associate agreement.

6. What is Global Privacy Control and do I have to honour it?

Global Privacy Control is a browser signal that tells websites the visitor wants to opt out of the sale or sharing of their personal information. Under the CCPA regulations, a business that sells or shares personal information must treat it as a valid opt-out request for that browser. Supporting browsers and extensions send a Sec-GPC request header and set a JavaScript property you can read. Several other US state laws also require universal opt-out signals to be respected, so it is worth supporting generally.

7. If I comply with GDPR, am I also compliant with the CCPA?

Not automatically, though GDPR work covers much of the ground. A GDPR compliant site already has a data inventory, a privacy notice, consent for cookies and a process for access and deletion requests. The CCPA adds its own items: specific California disclosures in the privacy policy, a Do Not Sell or Share link or Your Privacy Choices link, honouring Global Privacy Control, and contract terms with service providers. Start from your GDPR setup and add those pieces rather than building twice.

See which trackers your pages load

The GDPR scan lists every third-party service your pages contact, shows whether each waits for consent, and checks your privacy notice and cookie banner, so you know what each law requires you to change.

Open GDPR Fixes โ†’
๐Ÿ’ฌ Got a problem?
Related Guides: All GDPR Fixes  ·  GDPR compliance checklist  ·  Privacy policy  ·  GDPR for SaaS  ·  ePrivacy and tracking without consent  ·  Learning Hub

About aiwebpageseo

aiwebpageseo.com is a data-driven SEO and AEO (Answer Engine Optimisation) platform providing a free suite of technical SEO tools. Rather than relying on AI-theorised assumptions, the platform analyses live URL performance, delivering objective diagnostics, page speed metrics, CLS debugging, and site crawl data alongside actionable technical tutorials.