optimizer: Output amp-geo API meta tags#636
Conversation
- transformHtml paramter geoApiUrl enables amp-geo to use a fallback API
if the AMP hosting environment does not support dynamically patching
{{AMP_ISO_COUNTRY_HOTPATCH}} at delivery time
- Move meta tags added by transformer before all scripts to ensure their
content is available by the time scripts run
|
Looks good. One suggestion: update the ReorderHeadTransformer to move the meta tag to the beginning of. the head. |
|
@sebastianbenz The CSS should always be first. Why is this tag more important than the CSS? |
|
Forget my comment. ReorderHeadTransformer does already the right thing and adds all |
|
@sebastianbenz This PR has been moved out of draft status and is ready for any additional review comments you might have. Thanks! |
The meta tags added by this PR are inserted just before the first |
sebastianbenz
left a comment
There was a problem hiding this comment.
Looks good! Thanks!
transformHtmlparamtergeoApiUrlenables amp-geo to use a fallback APIif the AMP hosting environment does not support dynamically patching
{{AMP_ISO_COUNTRY_HOTPATCH}}at delivery timecontent is available by the time scripts run
Depends on ampproject/amphtml#26829