Skip to content

Commit 5fcb0cf

Browse files
bretgjlaso
authored andcommitted
analytics: added TCF note (prebid#3621)
Clarification related to prebid#3587
1 parent 2e4ff8d commit 5fcb0cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev-docs/integrate-with-the-prebid-analytics-api.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ The callback will receive an object with the following attributes:
135135
}
136136
```
137137

138+
Note that analytics adapters can read the TCF string directly from the auction object -- look for the gdprConsent object, which contains three attributes:
139+
gdprApplies, consentString, and apiVersion
140+
138141
#### Listening for errors
139142

140143
There are two error events analytics modules may wish to listen for: auctionDebug and adRenderFailed. The former is any error that would be normally logged to console and there can be a great many. The latter may happen for the following reasons: (PREVENT_WRITING_ON_MAIN_DOCUMENT, NO_AD, CANNOT_FIND_AD, EXCEPTION, MISSING_DOC_OR_ADID)

0 commit comments

Comments
 (0)