How can i get the GDPR concent string
dheeraj2414 opened this issue · 4 comments
dheeraj2414 commented
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?
sevriugin commented
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
Deleted user commented
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
<#414 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYTEBU7Z577WMEAMZBBREZDXYGWSTANCNFSM6AAAAAA4HH6VOU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
github-thomas-sormonte commented
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
HeinzBaumann commented
I think this can be closed.