Deprecated in IAB GDPR TCF v2.2
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 the
getTCDatacommand. 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 the
tcDataobject. Click here for more information on the