Allow external amp-consent flow to make iframe no-display before closing #32748
Labels
Component: amp-consent
P2: Soon
Stale
Inactive for one year or more
Type: Feature Request
WG: components
Describe the new feature or change to an existing feature you'd like to see
Currently, when the consent-response is sent to the parent AMP page, the iframe is closed immediately. While it is expected that the UI be immediately removed from the user's view, the CMP on the external iframe may need to also send a record of consent for the user choice to an external server (this is required for GDPR). However, because the iframe is closed immediately the call to the service is canceled before the record can be made.
This request to provide the ability to hide the iframe without closing until the external iframe responds that is ready to be closed.
Describe alternatives you've considered
Additional context
Logging records of consent is a requirement under GDPR and other privacy regulations.
The text was updated successfully, but these errors were encountered: