# California (CPRA)

The California privacy section will be set in the `gppString` for the end-user if the end-user's country/region/state is included in the region configuration for **California Privacy Rights Act** in the GPP consent notice.

{% hint style="info" %}
[Click here](https://www.didomi.io/blog/california-privacy-rights-act-cpra) to learn more about the California Privacy Rights Act on the Didomi blog.
{% endhint %}

<table><thead><tr><th width="123.41668701171875"></th><th width="85">Value</th><th>Description</th></tr></thead><tbody><tr><td>Section ID</td><td>8</td><td>The California privacy section is registered as Section ID 8 under the GPP.</td></tr><tr><td>API prefix</td><td><code>usca</code></td><td>The California privacy section is registered with API prefix <code>usca</code>.</td></tr></tbody></table>

### Section encoding

The table below details the various fields of the California privacy section.

<table><thead><tr><th width="209.5833740234375">Field</th><th width="114.0833740234375">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><code>Version</code></td><td>Integer</td><td>The version of the California privacy section used to encode the string.</td></tr><tr><td><code>SaleOptOutNotice</code></td><td>Integer</td><td>Notice of the Opportunity to Opt Out of the Sales of the Consumer's Personal Data.<br><br><code>0</code> Not applicable.<br><code>1</code> Yes, notice was provided.<br><code>2</code> No, notice was not provided.</td></tr><tr><td><code>SharingOptOutNotice</code></td><td>Integer</td><td>Notice of the Opportunity to Opt Out of the Sharing of the Consumer's Personal Data.<br><br><code>0</code> Not applicable.<br><code>1</code> Yes, notice was provided.<br><code>2</code> No, notice was not provided.</td></tr><tr><td><code>SensitiveDataLimitUseNotice</code></td><td>Integer</td><td>Notice of the Opportunity to Limit Use or Disclosure of the Consumer's Sensitive Data.<br><br><code>0</code> Not applicable.<br><code>1</code> Yes, notice was provided.<br><code>2</code> No, notice was not provided.</td></tr><tr><td><code>SaleOptOut</code></td><td>Integer</td><td>Opt-Out of the Sale of the Consumer's Personal Data<br><br><code>0</code> Not applicable.<br><code>1</code> Opted Out<br><code>2</code> Did Not Opt Out</td></tr><tr><td><code>SharingOptOut</code></td><td>Integer</td><td>Opt-Out of the Sharing of the Consumer's Personal Data.<br><br><code>0</code> Not applicable.<br><code>1</code> Opted Out<br><code>2</code> Did Not Opt Out</td></tr><tr><td><code>SensitiveDataProcessing</code></td><td>Array</td><td>Consents for each data activity (9) in the sensitive data category.<br><br><code>0</code> Not applicable.<br><code>1</code> No Consent<br><code>2</code> Consent<br><br><strong>1.</strong> Opt-Out of the Use or Disclosure of the Consumer's Sensitive Personal Information Which Reveals a Consumer's Social Security, Driver's License, State Identification Card, or Passport Number.<br><br><strong>2.</strong> Opt-Out of the Use or Disclosure of the Consumer's Sensitive Personal Information Which Reveals a Consumer's Account Log-In, Financial Account, Debit Card, or Credit Card Number in Combination with Any Required Security or Access Code, Password, or Credentials Allowing Access to an Account.<br><br><strong>3.</strong> Opt-Out of the Use or Disclosure of the Consumer's Sensitive Personal Information Which Reveals a Consumer's Precise Geolocation.<br><br><strong>4.</strong> Opt-Out of the Use or Disclosure of the Consumer's Sensitive Personal Information Which Reveals a Consumer's Racial or Ethnic Origin, Religious or Philosophical Beliefs, or Union Membership.<br><br><strong>5.</strong> Opt-Out of the Use or Disclosure of the Consumer's Sensitive Personal Information Which Reveals the contents of a Consumer's Mail, Email, and Text Messages unless You Are the Intended Recipient of the Communication.<br><br><strong>6.</strong> Opt-Out of the Use or Disclosure of the Consumer's Sensitive Personal Information Which Reveals a Consumer's Genetic Data.<br><br><strong>7.</strong> Opt-Out of the Use or Disclosure of the Consumer's Sensitive Personal Information Consisting of Biometric Information tor the Purpose of Uniquely Identifying a Consumer.<br><br><strong>8.</strong> Opt-Out of the Use or Disclosure of the Consumer's Sensitive Personal Information Consisting of Personal Information Collected and Analyzed Concerning a Consumer's Health.<br><br><strong>9</strong> Opt-Out of the Use or Disclosure of the Consumer's Sensitive Personal Information Consisting of Personal Information Collected and Analyzed Concerning a Consumer's Sex Life or Sexual Orientation.</td></tr><tr><td><code>KnownChildSensitiveDataConsents</code></td><td>Array</td><td>Consents for each data activity (2) in the processing of personal or sensitive data of consumer who is a known child category.<br><br><code>0</code> Not applicable.<br><code>1</code> No Consent<br><code>2</code> Consent<br><br><strong>1.</strong> Consent to Sell the Personal Information of Consumers Less Than 16 years of Age<br><br><strong>2.</strong> Consent to Share the Personal Information of Consumers Less Than 16 years of Age</td></tr><tr><td><code>PersonalDataConsents</code></td><td>Integer</td><td>Consent to Collection, Use, Retention, Sale, and/or Sharing of the Consumer's Personal Data that Is Unrelated to or Incompatible with the Purpose(s) for which the Consumer's Personal Data Was Collected or Processed.<br><br><code>0</code> Not applicable.<br><code>1</code> No Consent<br><code>2</code> Consent</td></tr><tr><td><code>MspaCoveredTransaction</code></td><td>Integer</td><td>Publisher or Advertiser, as applicable, is a signatory to the IAB Multi-state Service Provider Agreement (MSPA), as may be amended from time to time, and declares that the transaction is a "Covered Transaction" as defined in the MSPA.<br><br><code>1</code> Yes<br><code>2</code> No</td></tr><tr><td><code>MspaOptOutOptionMode</code></td><td>Integer</td><td>Publisher or Advertiser, as applicable, has enabled "Opt-Out Option Mode" for the "Covered Transaction," as such terms are defined in the MSPA.<br><br><code>0</code> Not applicable.<br><code>1</code> Yes<br><code>2</code> No</td></tr><tr><td><code>MspaServiceProviderMode</code></td><td>Integer</td><td>Publisher or Advertiser, as applicable, has enabled "Service Provider Mode" for the "Covered Transaction," as such terms are defined in the MSPA.<br><br><code>0</code> Not applicable.<br><code>1</code> Yes<br><code>2</code> No</td></tr><tr><td><code>Gpc</code></td><td>Boolean</td><td>Is Global Privacy Control enabled for the vendor list and detected on the end-user's browser?</td></tr><tr><td><code>GpcSegmentType</code></td><td>Integer</td><td>Possible values: 0 = Core | 1 = GPC</td></tr></tbody></table>

{% tabs %}
{% tab title="Example" %}
{% code overflow="wrap" %}

```json
{
  "Version": 1,
  "SaleOptOutNotice": 1,
  "SharingOptOutNotice": 1,
  "SensitiveDataLimitUseNotice": 1,
  "SaleOptOut": 2,
  "SharingOptOut": 2,
  "SensitiveDataProcessing": [0, 0, 0, 0, 0, 0, 0, 0, 0],
  "KnownChildSensitiveDataConsents": [0, 0],
  "PersonalDataConsents": 0,
  "MspaCoveredTransaction": 1,
  "MspaOptOutOptionMode": 1,
  "MspaServiceProviderMode": 2,
  "Gpc": true,
  "GpcSegmentType": 1
}
```

{% endcode %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.didomi.io/consent-management-platform-cmp/frameworks-regulations/iab-global-privacy-protocol-gpp/gpp-string/u.s.-state-privacy-sections/california-cpra.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
