iabtcf-es
iabtcf-es copied to clipboard
How can i get the GDPR concent string
Hello Team,
I have tried the __tcfapi method to get the TCData From this method I got the tcString. But it is the same for all users, How I can get the GDPR string from tcString or is there another way to get the GDPR string?
tcString
is actually GDPR string maybe missing some custom vendors and purposes that CMPs can add to additional consent stored it in separate cookies and provide it in result of getTCData call
Hello Team, Thanks for your help, can you also let me know how can i get the CCPA string from tcData?
Thanks
On Fri, Sep 1, 2023 at 3:28 PM Sergei Sevriugin @.***> wrote:
tcString is actually GDPR string maybe missing some custom vendors and purposes that CMPs can add to additional consent stored it in separate cookies and provide it in result of getTCData call
— Reply to this email directly, view it on GitHub https://github.com/InteractiveAdvertisingBureau/iabtcf-es/issues/414#issuecomment-1702492421, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYTEBU7Z577WMEAMZBBREZDXYGWSTANCNFSM6AAAAAA4HH6VOU . You are receiving this because you authored the thread.Message ID: @.***>
Hi dheeraj, To retrieve the CCPA consent string, you have to use the USPrivacy framework. You can use the 'getUSPData' call on __uspapi to get the uspString (aka the CCPA consent string). More info are here
I think this can be closed.