Skip to content

Commit dccaa61

Browse files
committed
DIA-3629 Update README.md
1 parent a8486b0 commit dccaa61

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ This getter is used to retrieve `SpConsents` data. After calling, it checks the
249249
| |-- euconsent: String
250250
| |-- acceptedCategories: List<String>
251251
| |-- consentStatus: ConsentStatus
252+
| |-- googleConsentMode: SPGCMData
252253
|-- ccpa?
253254
|-- applies: bool
254255
|-- consents: CcpaConsent
@@ -287,6 +288,14 @@ For vendors that are not part of the IAB, you can verify the user consented to t
287288
consents.ccpa.consents.rejectedVendors.Contains("a_vendor_id");
288289
```
289290

291+
## Google Consent Mode
292+
293+
[Google Consent Mode 2.0](https://developers.google.com/tag-platform/security/concepts/consent-mode) ensures that Google vendors on your property comply with an end-user's consent choices for purposes (called consent checks) defined by Google. It is implemented via [Google Analytics for Firebase SDK](https://firebase.google.com/docs/analytics/unity/start).
294+
295+
### Update consent checks
296+
297+
Use Google's `setConsent` method to update the relevant consent checks when the appropriate purposes are consented to/rejected. Be advised that the `googleConsentMode` object in `GdprConsent` will only return values for Google consent checks that are mapped to a custom purpose within your vendor list. For all other Google consent checks, the response will be `null`.
298+
290299
## Adding or Removing custom consents
291300

292301
It's possible to programmatically consent the current user to a list of custom vendors, categories and legitimate interest categories with the method:

0 commit comments

Comments
 (0)