Title: AMP analytics validation error
Last modified: June 25, 2021

---

# AMP analytics validation error

 *  Resolved [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/amp-analytics-validation-error/)
 * 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](https://wordpress.org/support/topic/different-version-of-amp-js-in-head/#post-14596570)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Famp-analytics-validation-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [caouic](https://wordpress.org/support/users/caouic/)
 * (@caouic)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/amp-analytics-validation-error/#post-14601827)
 * Hi,
    Thanks [@milindmore22](https://wordpress.org/support/users/milindmore22/)
   to open this thread. Squirrly team, If you need some stuff to resolve this issue
   don’t hesitate to contact me. Best regards,
 *  [caouic](https://wordpress.org/support/users/caouic/)
 * (@caouic)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/amp-analytics-validation-error/#post-14601890)
 * Hi Squirrly team, I let activate “Tracking tools” on my website lesgoodnews to
   help you resolved this issue.
    If you want to see the result with “Tracking tools
   set to false” check on my other website (same theme and plugins) [https://philipperuaudel.fr/2021/04/18/switchy-facile-de-faire-le-lien/amp/](https://philipperuaudel.fr/2021/04/18/switchy-facile-de-faire-le-lien/amp/)
   Best,
 *  Plugin Author [SEO Squirrly](https://wordpress.org/support/users/cifi/)
 * (@cifi)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/amp-analytics-validation-error/#post-14604846)
 * Hi,
 * Thank you for the feedback.
 * I sent your request to tech and they will update the plugin soon.
 * Alex
 *  [tongzie](https://wordpress.org/support/users/tongzie/)
 * (@tongzie)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/amp-analytics-validation-error/#post-14670113)
 * please inform us when that will happen, I lost considerable traffic due to this
   bug and have spent some hours to determine the cause, which AMP engineers pointed
   me to.
 *  [Popseo](https://wordpress.org/support/users/chacko/)
 * (@chacko)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/amp-analytics-validation-error/#post-14702404)
 * Hi,
 * We seem to have same problem. Google webstories is getting this analytics error.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘AMP analytics validation error’ is closed to new replies.

 * ![](https://ps.w.org/squirrly-seo/assets/icon-256x256.png?rev=2724476)
 * [SEO Plugin by Squirrly SEO](https://wordpress.org/plugins/squirrly-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/squirrly-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/squirrly-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/squirrly-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/squirrly-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/squirrly-seo/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [Popseo](https://wordpress.org/support/users/chacko/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/amp-analytics-validation-error/#post-14702404)
 * Status: resolved