• yvrmark

    (@yvrmark)


    Hi, I am getting a number of validation errors: A tag on this page requires an AMP component ‘script’ tag, which is missing.

    One of the URLs displaying the error is above.

    I ran it through the AMP project validator and the errors returning all appear to be for amp-social-share: “The tag ‘amp-social-share’ requires including the ‘amp-social-share’ extension JavaScript.”

    I am not sure where to find settings for ‘amp-social share’ to attempt a fix.

    Thanks for your help!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hi @yvrmark,

    The issue is really strange.

    I’m sharing the below code, please add this code in the ‘Enter HTML in Head’ option. You will find this option in AMP > settings > Advanced settings > Enter HTML in Head.

    Screenshot: https://take.ms/ZK5tf

    Code:

    <script async custom-element="amp-social-share" src="https://cdn.ampproject.org/v0/amp-social-share-0.1.js"></script>

    Hope it helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Google AMP errors’ is closed to new replies.