Public pages use no advertising trackers. The secure portal uses an essential session cookie and the service providers described in our privacy policy.

Skip to main content

· Court ruling

Castillo v. Costco Wholesale Corp.

U.S. District Court for the Western District of Washington, No. 2:23-cv-01548-JHC, ECF No. 62

Mixed rulingMotion to dismiss denied as to the Wiretap Act claim and six state-law claims, and granted with leave to amend as to four claims, including the Washington Privacy Act claim

Primary source: Order on motion to dismiss. Checked on November 10, 2026.

Ruling on the pleadings, a Seattle federal court held pharmacy customers' prescription searches sent to Meta were contents and a financial motive does not defeat the crime-tort exception, but dismissed the Washington Privacy Act claim.

What happened

Eleven people who used Costco's pharmacy website filed a consolidated class action alleging that Costco installed third-party tracking technologies, including the Meta Pixel, on that site, which customers use to search for prescriptions and immunizations, order and refill prescriptions and search for health insurance. They sued for themselves, a proposed nationwide class and California and Florida subclasses. (ECF No. 62 at 1-3.)

The complaint alleged that the Pixel recorded detailed URLs capturing the search terms customers entered and the options they selected, that the data could be linked to a customer's identity through a personal Facebook account (or later, if the customer created one), and that Meta aggregated the data for advertising. It alleged that Costco installed the Pixel to increase profitability through Meta's targeted advertising and did not disclose that it shared customers' health data. (ECF No. 62 at 2-3.)

The plaintiffs alleged that they searched for, ordered or refilled prescriptions on the site while generally logged into Facebook, that some later received targeted ads for specific prescriptions, and that they never consented. They did not allege that the Pixel ran on the pages customers see after logging into the pharmacy patient portal. (ECF No. 62 at 3, 10.)

The court took the facts alleged in the consolidated complaint as true, as it must on a motion to dismiss. (ECF No. 62 at 2, 4.)

What the court held

  1. Applying the Ninth Circuit's distinction in In re Zynga between contents and record information, the court held that the plaintiffs' searches for information about patient status, prescriptions and health conditions are contents of their communications, and that URLs carrying searches for specific prescriptions are contents. It added that some data, such as the buttons customers click, may be only record information, but it was enough at this stage that some of the information was protected. (ECF No. 62 at 9-11)

    Because Plaintiffs searched for specific prescriptions, the URLs used and disclosed by Costco constitute “contents” of a communication.

    ECF No. 62 at 11
  2. It did not matter that the Pixel was not alleged to run on patient portal pages, and data need not be protected by HIPAA to be contents; whether HIPAA protects the data bears on the crime-tort exception instead. (ECF No. 62 at 10)

    But Costco cites no authority suggesting that data must be protected under HIPAA to be “contents” of communications protected under the Wiretap Act.

    ECF No. 62 at 10
  3. The plaintiffs did not dispute that Costco was a party to the communications, but they plausibly alleged the crime-tort exception. The court held that the alleged use of the data to generate targeted advertisements for financial gain went beyond the interception, and that alleging a defendant intercepted data in order to use it in violation of criminal or tort laws is enough, because the use of intercepted communications is often the criminal or tortious purpose. (ECF No. 62 at 11-13)

    The Court concludes that alleging a defendant intercepted data to use the data in violation of criminal or tort laws suffices to invoke the crime-tort exception.

    ECF No. 62 at 13
  4. The exception can apply even when a defendant intercepts data for financial gain. The court found unpersuasive two Northern District of California decisions holding otherwise, because neither involved health data that could implicate HIPAA, and it agreed there is no bright-line rule insulating financial motives. (ECF No. 62 at 13-15)

    The Court also concludes that the crime-tort exception applies even when a defendant intercepts data for the purpose of financial gain.

    ECF No. 62 at 13
  5. The plaintiffs plausibly alleged that Costco intercepted data to violate HIPAA. The court reasoned that data about specific prescriptions bought and refilled, insurance coverage and location, linkable to personal Facebook accounts, can be used to identify individuals and relates to the provision of health care, which includes dispensing a drug under a prescription. The court distinguished Smith v. Facebook, which involved browsing general health information on public websites. (ECF No. 62 at 15-17)

    Plaintiffs plausibly allege that the crime-tort exception applies because Costco violated HIPAA.

    ECF No. 62 at 17
  6. Washington law did not exclusively govern the state statutory claims. The choice-of-law clause in Costco's website terms covered only the interpretation of those terms, and California and Florida had the most significant relationship to their residents' claims under their own wiretap and medical-information statutes. (ECF No. 62 at 4-8)

    This choice-of-law provision provides only that Washington law governs interpretation of the terms and conditions; it does not provide that Washington law governs all disputes arising out of use of Costco’s website.

    ECF No. 62 at 5
  7. The Washington Privacy Act claim was dismissed with leave to amend. The plaintiffs alleged injury and sued the right defendant, but URLs containing search terms are not private communications between two or more individuals, because a corporation is not an individual under subsection (a), and search terms in URLs are not conversations under subsection (b). (ECF No. 62 at 17-21)

    The Court similarly concludes that search terms included in URLs are not “conversations” under subsection (b).

    ECF No. 62 at 21
  8. The California Invasion of Privacy Act claim survived because Costco's only argument was that the data were not contents, and Costco acknowledged that the contents standard is the same as under the Wiretap Act. The Florida Security of Communications Act claim survived because that statute does not categorically exempt website tracking, and search terms are contents under it. (ECF No. 62 at 21-22)

    Contrary to Costco’s contention, the FSCA does not categorically exempt website tracking technologies.

    ECF No. 62 at 22
  9. The Washington Consumer Protection Act claim survived. The alleged loss of economic value of personal health data, supported by sources on the market for such data, was enough to allege injury to property; Meta's generalized data policy and Costco's general privacy policy did not establish consent; staying logged into Facebook could not be treated as implied consent at the pleading stage; and installing the Pixel to use and disclose health data without consent plausibly deceived the public. (ECF No. 62 at 23-28)

    Costco plausibly deceived the public by installing the Pixel to use and disclose customers’ personal health data without their consent.

    ECF No. 62 at 28
  10. To the extent Costco disputed Article III standing, the plaintiffs had it: they alleged the collection of personal health data linkable to their identities through Facebook, and they alleged that they would not have bought prescriptions from Costco had they known of its data practices. (ECF No. 62 at 25-26)

    Plaintiffs have stated injury under Article III and the WCPA.

    ECF No. 62 at 26
  11. The Washington Uniform Health Care Information Act and California Confidentiality of Medical Information Act claims survived: the data was adequately alleged to be health care or medical information for the same reasons it was adequately alleged to be individually identifiable health information; for the Washington statute, personal Facebook accounts, unlike unique identifiers, disclose actual identities; and for the California statute, disclosure to third-party online advertisers was enough to allege that unauthorized third parties viewed it. (ECF No. 62 at 28-30)

    But unlike unique identifiers, personal Facebook accounts disclose actual identities.

    ECF No. 62 at 29
  12. The common-law invasion of privacy, breach of implied contract and conversion claims were dismissed with leave to amend, and the unjust enrichment claim survived. (ECF No. 62 at 30-36)

What it did not decide

  • Whether disclosing data, without a further use, can be a criminal or tortious act independent of the recording; the court did not reach it because the alleged use for targeted advertising sufficed, noting that courts, including Nienaber v. Overlake Hospital Medical Center in the same district, have disagreed (ECF No. 62 at 12 n.4).
  • Whether the plaintiffs' state-law claims could also supply the crime-tort predicate (ECF No. 62 at 17 n.5).
  • Whether an overpayment theory establishes statutory standing under the Washington Consumer Protection Act (ECF No. 62 at 25).
  • Choice of law for the common-law claims, which the parties agreed to defer (ECF No. 62 at 4).
  • Class certification, damages and the merits; the order ruled on the pleadings only.

The tracking involved

Tools

  • Meta Pixel
  • other third-party tracking technologies (not named in the order)

Data

  • search terms and selected options captured in detailed URLs
  • prescription information, including specific drugs and pricing
  • immunization information, treatments, patient status and patient location
  • health insurance coverage
  • clicks on a Refill Prescription button that leads to a Sign In page

How it bears on website tracking claims

Supports: strengthens a website tracking claim on this issue. Limits: narrows or defeats a website tracking claim on this issue. Context: bears on the issue without deciding it either way.

  • Supports: Contents

    Whether what was sent, such as page addresses, searches and clicks, counts as the contents of a communication.

    Applying In re Zynga, the court held that health-related searches on Costco's pharmacy website, and URLs carrying searches for specific prescriptions, are contents of communications, even though the Pixel was not alleged to run in the patient portal and whether or not HIPAA protects the data. It noted that some data, such as button clicks, may be only record information. For a website-tracking claim, the ruling supports treating search terms and descriptive URLs sent to an advertising platform as contents at the pleading stage, at least where they reveal specific prescriptions or health conditions.

    All tracker entries on this issue

  • Context: Party exception

    Whether the website, as a party to the visit, could consent to the tracking under 18 U.S.C. § 2511(2)(d).

    The plaintiffs did not dispute that Costco was a party to the communications, so the Wiretap Act claim turned on the crime-tort exception. The order does not analyze whether a website operator is a party.

    All tracker entries on this issue

  • Supports: Crime-tort exception

    Whether a communication was intercepted for the purpose of a criminal or tortious act, which removes the party exception.

    The court held it enough to allege that the operator intercepted data in order to use it in violation of criminal or tort law, treating the alleged use for targeted advertising as conduct beyond the interception, and held that a financial motive does not defeat the exception. It relied on a HIPAA predicate and did not decide whether disclosure alone, without a further use, is an independent act, noting that courts, including Nienaber v. Overlake Hospital Medical Center in the same district, have disagreed (ECF No. 62 at 12 n.4).

    All tracker entries on this issue

  • Supports: HIPAA

    How HIPAA, its criminal provision at 42 U.S.C. § 1320d-6 and HHS guidance bear on tracking.

    The court held that a pharmacy's alleged disclosure of data about specific prescriptions bought and refilled, insurance coverage and location, linkable to Facebook accounts, plausibly violated 42 U.S.C. § 1320d-6, because such data can be used to identify individuals and relates to the provision of health care, which includes dispensing a drug under a prescription. The order did not separately discuss Costco's status as a covered entity or whether it acted knowingly.

    All tracker entries on this issue

  • Supports: Health information

    What counts as individually identifiable health information when it is sent through tracking tools.

    The court distinguished Smith v. Facebook, which involved browsing general health information on public websites, because these plaintiffs alleged searches for specific prescription drugs, insurance coverage and location and refills through the site. Following R.C. v. Walgreen, it reasoned that a person is very unlikely to buy specific prescriptions for reasons unrelated to her own health, so the data could relate to individual health conditions even though it was not collected inside the patient portal.

    All tracker entries on this issue

  • Supports: State wiretap laws

    State interception statutes, such as California Penal Code § 631 and the Washington Privacy Act.

    The California Invasion of Privacy Act claim survived because Costco argued only that the data were not contents, and the court applied the same contents standard as under the federal Act; the Florida Security of Communications Act claim survived because that statute does not categorically exempt website tracking technologies and search terms are contents under it. The court also held that California and Florida law, not Washington law, governed those residents' statutory claims despite the choice-of-law clause in Costco's site terms.

    All tracker entries on this issue

  • Limits: State wiretap laws

    State interception statutes, such as California Penal Code § 631 and the Washington Privacy Act.

    The Washington Privacy Act claim failed. The court held that URLs with search terms are not private communications between two or more individuals, because a corporation is not an individual under subsection (a), and are not conversations under subsection (b); it gave leave to amend because at least one plaintiff communicated with pharmacists and technicians. It reached that reading without clear Washington authority and invited either party to seek certification of the question to the Washington Supreme Court (ECF No. 62 at 21 & n.6).

    All tracker entries on this issue

  • Supports: Consent

    Whether visitors agreed to the tracking through banners, privacy policies or terms.

    In the Washington Consumer Protection Act discussion, the court held that Meta's generalized data-collection notice did not establish consent to the collection of personal health data. It rejected Costco's claim that its privacy policy disclosed the tracking, because Costco cited no supporting language and did not meaningfully dispute that a separate health care privacy notice, which requires written authorization for marketing uses, governed, so a general opt-out notice was irrelevant. It also declined to treat staying logged into Facebook as implied consent at the pleading stage.

    All tracker entries on this issue

  • Supports: Consumer protection

    Deception and unfair practice claims, such as under the FTC Act and N.Y. General Business Law § 349.

    The Washington Consumer Protection Act claim survived on allegations that the disclosure diminished the economic value of personal health data, supported by sources on the market for such data, and that installing the Pixel without consent plausibly deceived the public. The court noted that damages for mental distress, embarrassment and inconvenience are not recoverable under that statute.

    All tracker entries on this issue

  • Supports: State privacy laws

    Other state privacy statutes and claims, such as medical information and health records acts and the CCPA.

    The Washington Uniform Health Care Information Act and California Confidentiality of Medical Information Act claims survived because the data was adequately alleged to be health care or medical information for the same reasons it was adequately alleged to be individually identifiable health information. For the Washington statute, the court added that personal Facebook accounts, unlike unique identifiers, disclose actual identities; for the California statute, it held that disclosure to online advertisers was enough to allege that unauthorized third parties viewed the information. The common-law invasion of privacy claim was dismissed with leave to amend because the complaint did not adequately allege publicity.

    All tracker entries on this issue

  • Supports: Standing and injury

    Whether the people suing were harmed in a way that lets a federal court hear the claim.

    To the extent Costco disputed Article III standing, the court found it satisfied by the alleged collection of personal health data linkable to the plaintiffs' identities through Facebook, and independently by the allegation that they would not have bought prescriptions from Costco had they known. It did not decide whether that overpayment theory also gives statutory standing under the Washington Consumer Protection Act.

    All tracker entries on this issue

Arguments it addresses

Search terms and URLs are record information, not contents
The court held that searches for prescriptions and health information, and URLs carrying them, are contents, while noting that button clicks may be record information (ECF No. 62 at 9-11).
The tracking did not run in the patient portal
The court held this immaterial both to whether the data were contents and to whether they related to individual health conditions (ECF No. 62 at 10, 16-17).
A page visit is not health information
The court distinguished Smith v. Facebook because the plaintiffs alleged searches for, purchases of and refills of specific prescriptions, not browsing of general health information (ECF No. 62 at 15-17).
The website was a party to the communication
The plaintiffs did not dispute Costco's party status, and the court held that the crime-tort exception plausibly applied (ECF No. 62 at 11-17).
The purpose was financial, not criminal
The court held that the crime-tort exception applies even when data is intercepted for financial gain (ECF No. 62 at 13-15).
The visitor agreed to the privacy policy or to Meta's terms
The court held that Meta's generalized notice did not establish consent to collect personal health data, and that Costco cited no supporting policy language and did not meaningfully dispute that its separate health care privacy notice, which requires written authorization for marketing uses, governed (ECF No. 62 at 26-28).
The site's terms choose the company's home-state law
The court held that the choice-of-law clause governed only the interpretation of the site terms, so California and Florida law applied to those residents' statutory claims (ECF No. 62 at 4-8).
No concrete injury
The court found Article III standing and injury under the Washington Consumer Protection Act based on the alleged collection and diminished value of personal health data linkable to the plaintiffs, and on their allegations that they would not have bought prescriptions had they known (ECF No. 62 at 23-26).

For a company that received a letter

  • This was a ruling on the pleadings: the court accepted the complaint's allegations as true and made no finding that Costco acted unlawfully.
  • The Wiretap Act holding rested on allegations that customers searched for, bought and refilled specific prescriptions while logged into Facebook, with HIPAA as the predicate, and the court did not decide whether disclosure alone, without a further use, is enough.
  • The Washington Privacy Act claim failed because the court read that statute to reach communications between individuals, not a person's searches on a company's website.
  • The case has moved to class certification briefing, and no class had been certified as of the docket entries available on November 10, 2026.

What to check on your own site

  • Check whether your site search and product or prescription pages put search terms or drug names into page addresses or events that tags send to advertising platforms.
  • Check whether tags on public pages, not only on logged-in portal pages, send health-related selections such as refill clicks.
  • Check whether your general privacy policy and any health-specific privacy notice say the same thing about tracking technologies.

Later history

Costco answered the consolidated complaint on December 20, 2024 (ECF No. 63), and the docket shows no second amended complaint repleading the dismissed claims. The case was stayed for mediation from February 2025 until a new schedule was set in September 2025 (ECF Nos. 66, 76). Three named plaintiffs, including Jesus Castillo, voluntarily dismissed their claims on February 18, 2026, and the case continues under the same caption (ECF No. 77). The remaining plaintiffs moved for class certification on July 2, 2026 (ECF No. 93), and an October 6, 2026 order extended briefing deadlines on class certification, a Costco motion to dismiss and motions to exclude expert testimony (ECF No. 127). The docket entries available on CourtListener as of November 10, 2026 show no ruling on those motions.

May 9, 2024 · Court rulingR.C. v. Walgreen (C.D. Cal. 2024)Mixed rulingFederal and California wiretap claims over a pharmacy site's alleged sharing of shoppers' health product selections with Meta survived dismissal because a viable state-law privacy claim supplied the tortious purpose.October 8, 2026 · Court rulingBaker v. Seattle Children's Hospital (Wash. 2026)For defendantsThe Washington Supreme Court held that the Washington Privacy Act's ban on intercepting private communications between two or more individuals does not reach a visitor's searches and clicks on a hospital's public website.March 4, 2026 · Court rulingNichols v. PeaceHealth Networks on Demand (W.D. Wash. 2026)For defendantsA Washington federal court dismissed a Wiretap Act claim over Google Analytics on a care provider's appointment website, finding no pleaded facts showing a criminal or tortious purpose separate from the disclosure.September 7, 2023 · Court rulingDoe v. Meta Platforms (N.D. Cal. 2023)Mixed rulingPatients' Wiretap Act and CIPA claims against Meta over its pixel on health care providers' patient portals survived dismissal, with the scope of covered content, Meta's intent and the providers' consent left to evidence.February 21, 2025 · Court rulingStein v. Edward-Elmhurst Health (N.D. Ill. 2025)Mixed rulingAn Illinois federal court held that a health care provider's alleged disclosure of patient information to Facebook in violation of HIPAA satisfies the crime-tort exception, even if done for profit; the question is on appeal.September 22, 2025 · Court rulingSweat v. Houston Methodist Hospital (S.D. Tex. 2025)For defendantsOn summary judgment, a Texas federal court held a hospital's Facebook Pixel use fell outside the crime-tort exception because the evidence showed it did not know it was disclosing identifiable health information.

Published by Privacy Resolve from public records. It does not cover our own matters.

General information only, not legal advice, and not a substitute for the advice of an attorney. Laws, deadlines, defenses and outcomes vary by jurisdiction and facts.