-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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-blocking meta tag is required #30553
Comments
Hi @fjanevski could you provide a link to one of your pages where you're experiencing this issue? |
hi @micajuine-ho this is one example: https://gutscheine.focus.de/angebote/winterschlussverkauf/amp. After some investigation we discovered that the issue is not happening on the general amp-consent implementation, but is vendor specific. We are using Structure with issue:
Works with:
|
Hi @fjanevski
When I open this page, I do not see the |
Hi @micajuine-ho, we switched back to the general amp-consent implementation because it was a critical for us. The issue can be reproduced only when using the |
I still cannot reproduce this when I test locally using |
I see now. This behavior is intentional for See this comment for more information on this: #17742 (comment). In any case, I will update the documentation to make this more clear. |
What's the issue?
As mentioned in the documentation for blocking behaviour with amp-consent we can block components either by:
data-block-on-consent
attribute to the AMP extensionamp-consent-blocking
meta tag with the list of extensions to be blockedOn our pages we are using the
data-block-on-consent
attribute, but from recently we started to receive invalid amp pages with the following message:The tag 'meta name=amp-consent-blocking' is missing or incorrect, but required by 'amp-consent'.
How do we reproduce the issue?
In the AMP playground by adding amp-consent and one other component, i.e. amp-analytics.
What browsers are affected?
Checked on Chrome 85.0.4183.121
Which AMP version is affected?
Checked on version: 2009252320001
The text was updated successfully, but these errors were encountered: