Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨[amp-consent] Implement getTCData command for TCF PostMessage API #32411

Merged
merged 14 commits into from
Feb 9, 2021

Conversation

micajuine-ho
Copy link
Contributor

@micajuine-ho micajuine-ho commented Feb 3, 2021

Partial for #30385

Implements getTcData command received by 3p iframes through the PostMessage API. Does not allow any parameters as amp-consent does not collect any vendor-list. The success value in the return object will always be true if it was valid call to begin with.

Returns a "minimal" TCData object via PostMessage to the original source. The object is blindly packaged from the data available at the time to amp-consent.

The eventStatus value of the TCData will always be tcloaded & and the cmpStatus will be loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants