Deprecated in IAB GDPR TCF v2.2
Historically, the
tcDataobject which contains encoded and unencoded values of the TC String, vendors, IAB purposes, etc... pertaining to an end-user's current browser session was accessed via thegetTCDatacommand. This command has since been deprecated in IAB GDPR TCF v2.2.Under IAB GDPR TCF v2.2, add an
addEventListenerand utilize its callback function to access thetcDataobject. Click here for more information on theaddEventListenercommand.
