Support » Plugin: SEO Plugin by Squirrly SEO » AMP analytics validation error

  • Milind More

    (@milindmore22)


    Hello Squirrly Team,

    Recently we got a support topic related to AMP validation which was caused by Squirrly SEO adding analytics script too early.

    It seems the script was added before even AMP runtime js. causing validation errors like

    The script version for ‘amphtml nomodule engine script’ is a module/nomodule version which mismatches with the first script on the page using the standard version.

    Official AMP plugin doesn’t require scripts specifically added on AMP page, it can detect amp components added and add scripts for the same.

    In case Squirrly needs a script I will recommend adding it late, so it won’t create AMP invalidation.

    The issue is reproducible on AMP Reader Mode with a Legacy theme

    reference : https://wordpress.org/support/topic/different-version-of-amp-js-in-head/#post-14596570

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

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.