• Resolved kingbrown75

    (@kingbrown75)


    Hello, The AMP plugin provided the validation data below.
    Thanks in advance

    Raw validation data which you may want to share with the author so they can fix AMP compatibility:
    
    [
    {
    "url": "https://madeintheamericas.com/",
    "type": "is_front_page",
    "label": "Homepage",
    "amp_url": "https://madeintheamericas.com/?amp=1",
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 52005,
    "edit_link": "https://madeintheamericas.com/wp-admin/post.php?post=52005&action=edit"
    },
    "validation_errors": [
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": [],
    "text": "window._wca = window._wca || [];",
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 106,
    "function": "Jetpack_WooCommerce_Analytics::wp_head_top",
    "hook": "wp_head",
    "priority": 1
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": {
    "defer": "defer",
    "src": "https://stats.wp.com/s-202405.js",
    "id": "woocommerce-analytics-js"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 116,
    "function": "Jetpack_WooCommerce_Analytics::enqueue_tracking_script",
    "hook": "wp_enqueue_scripts",
    "priority": 10,
    "dependency_type": "script",
    "handle": "woocommerce-analytics"
    }
    ]
    }
    ]
    },
    {
    "url": "https://madeintheamericas.com/account/account-addresses/",
    "type": "is_singular[page]",
    "label": "Page",
    "amp_url": "https://madeintheamericas.com/account/account-addresses/?amp=1",
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 52003,
    "edit_link": "https://madeintheamericas.com/wp-admin/post.php?post=52003&action=edit"
    },
    "validation_errors": [
    {
    "code": "STYLESHEET_TOO_LONG",
    "type": "css_error",
    "spec_name": "style amp-custom",
    "node_name": "link",
    "node_attributes": {
    "rel": "stylesheet",
    "id": "dashicons-css",
    "href": "https://madeintheamericas.com/wp-includes/css/dashicons.min.css?ver=normalized",
    "media": "all"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/notes.php",
    "line": 107,
    "function": "Jetpack_Notifications::styles_and_scripts",
    "hook": "wp_head",
    "priority": 120,
    "dependency_type": "style",
    "handle": "noticons",
    "dependency_handle": "dashicons"
    },
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/notes.php",
    "line": 107,
    "function": "Jetpack_Notifications::styles_and_scripts",
    "hook": "wp_head",
    "priority": 120,
    "dependency_type": "style",
    "handle": "wpcom-notes-admin-bar",
    "dependency_handle": "dashicons"
    },
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-plugin.php",
    "line": 56,
    "function": "Automattic\Jetpack\Forms\ContactForm\Contact_Form_Plugin::init",
    "hook": "init",
    "priority": 9,
    "dependency_type": "style",
    "handle": "amp-icons",
    "dependency_handle": "dashicons"
    },
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-plugin.php",
    "line": 56,
    "function": "Automattic\Jetpack\Forms\ContactForm\Contact_Form_Plugin::init",
    "hook": "init",
    "priority": 9,
    "dependency_type": "style",
    "handle": "admin-bar",
    "dependency_handle": "dashicons"
    },
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-plugin.php",
    "line": 56,
    "function": "Automattic\Jetpack\Forms\ContactForm\Contact_Form_Plugin::init",
    "hook": "init",
    "priority": 9,
    "dependency_type": "style",
    "handle": "dashicons"
    }
    ]
    },
    {
    "code": "STYLESHEET_TOO_LONG",
    "type": "css_error",
    "spec_name": "style amp-custom",
    "node_name": "link",
    "node_attributes": {
    "rel": "stylesheet",
    "id": "dashicons-css",
    "href": "https://madeintheamericas.com/wp-includes/css/dashicons.min.css?ver=normalized",
    "media": "not all",
    "data-media": "all",
    "onload": "this.media=this.dataset.media; delete this.dataset.media; this.removeAttribute( 'onload' );"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/notes.php",
    "line": 107,
    "function": "Jetpack_Notifications::styles_and_scripts",
    "hook": "wp_head",
    "priority": 120,
    "dependency_type": "style",
    "handle": "noticons",
    "dependency_handle": "dashicons"
    },
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/notes.php",
    "line": 107,
    "function": "Jetpack_Notifications::styles_and_scripts",
    "hook": "wp_head",
    "priority": 120,
    "dependency_type": "style",
    "handle": "wpcom-notes-admin-bar",
    "dependency_handle": "dashicons"
    },
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-plugin.php",
    "line": 56,
    "function": "Automattic\Jetpack\Forms\ContactForm\Contact_Form_Plugin::init",
    "hook": "init",
    "priority": 9,
    "dependency_type": "style",
    "handle": "amp-icons",
    "dependency_handle": "dashicons"
    },
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-plugin.php",
    "line": 56,
    "function": "Automattic\Jetpack\Forms\ContactForm\Contact_Form_Plugin::init",
    "hook": "init",
    "priority": 9,
    "dependency_type": "style",
    "handle": "admin-bar",
    "dependency_handle": "dashicons"
    },
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-plugin.php",
    "line": 56,
    "function": "Automattic\Jetpack\Forms\ContactForm\Contact_Form_Plugin::init",
    "hook": "init",
    "priority": 9,
    "dependency_type": "style",
    "handle": "dashicons"
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": [],
    "text": "window._wca = window._wca || [];",
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 106,
    "function": "Jetpack_WooCommerce_Analytics::wp_head_top",
    "hook": "wp_head",
    "priority": 1
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": {
    "defer": "defer",
    "src": "https://stats.wp.com/s-202405.js",
    "id": "woocommerce-analytics-js"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 116,
    "function": "Jetpack_WooCommerce_Analytics::enqueue_tracking_script",
    "hook": "wp_enqueue_scripts",
    "priority": 10,
    "dependency_type": "script",
    "handle": "woocommerce-analytics"
    }
    ]
    }
    ]
    },
    {
    "url": "https://madeintheamericas.com/brand/microsculptures-inc/",
    "type": "is_tax[product_brand]",
    "label": "Brand",
    "amp_url": "https://madeintheamericas.com/brand/microsculptures-inc/?amp=1",
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 52004,
    "edit_link": "https://madeintheamericas.com/wp-admin/post.php?post=52004&action=edit"
    },
    "validation_errors": [
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": [],
    "text": "window._wca = window._wca || [];",
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 106,
    "function": "Jetpack_WooCommerce_Analytics::wp_head_top",
    "hook": "wp_head",
    "priority": 1
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": {
    "defer": "defer",
    "src": "https://stats.wp.com/s-202405.js",
    "id": "woocommerce-analytics-js"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 116,
    "function": "Jetpack_WooCommerce_Analytics::enqueue_tracking_script",
    "hook": "wp_enqueue_scripts",
    "priority": 10,
    "dependency_type": "script",
    "handle": "woocommerce-analytics"
    }
    ]
    }
    ]
    },
    {
    "url": "https://madeintheamericas.com/product-category/outdoor-recreation/metal-detectors/",
    "type": "is_tax[product_cat]",
    "label": "Category",
    "amp_url": "https://madeintheamericas.com/product-category/outdoor-recreation/metal-detectors/?amp=1",
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 52007,
    "edit_link": "https://madeintheamericas.com/wp-admin/post.php?post=52007&action=edit"
    },
    "validation_errors": [
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": [],
    "text": "window._wca = window._wca || [];",
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 106,
    "function": "Jetpack_WooCommerce_Analytics::wp_head_top",
    "hook": "wp_head",
    "priority": 1
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": {
    "defer": "defer",
    "src": "https://stats.wp.com/s-202405.js",
    "id": "woocommerce-analytics-js"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 116,
    "function": "Jetpack_WooCommerce_Analytics::enqueue_tracking_script",
    "hook": "wp_enqueue_scripts",
    "priority": 10,
    "dependency_type": "script",
    "handle": "woocommerce-analytics"
    }
    ]
    }
    ]
    },
    {
    "url": "https://madeintheamericas.com/product-tag/disposable-duster-10oz/",
    "type": "is_tax[product_tag]",
    "label": "Tag",
    "amp_url": "https://madeintheamericas.com/product-tag/disposable-duster-10oz/?amp=1",
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 52006,
    "edit_link": "https://madeintheamericas.com/wp-admin/post.php?post=52006&action=edit"
    },
    "validation_errors": [
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": [],
    "text": "window._wca = window._wca || [];",
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 106,
    "function": "Jetpack_WooCommerce_Analytics::wp_head_top",
    "hook": "wp_head",
    "priority": 1
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": {
    "defer": "defer",
    "src": "https://stats.wp.com/s-202405.js",
    "id": "woocommerce-analytics-js"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 116,
    "function": "Jetpack_WooCommerce_Analytics::enqueue_tracking_script",
    "hook": "wp_enqueue_scripts",
    "priority": 10,
    "dependency_type": "script",
    "handle": "woocommerce-analytics"
    }
    ]
    }
    ]
    },
    {
    "url": "https://madeintheamericas.com/?product_shipping_class=free-shipping",
    "type": "is_tax[product_shipping_class]",
    "label": "Shipping class",
    "amp_url": "https://madeintheamericas.com/?product_shipping_class=free-shipping&amp=1",
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 52012,
    "edit_link": "https://madeintheamericas.com/wp-admin/post.php?post=52012&action=edit"
    },
    "validation_errors": [
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": [],
    "text": "window._wca = window._wca || [];",
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 106,
    "function": "Jetpack_WooCommerce_Analytics::wp_head_top",
    "hook": "wp_head",
    "priority": 1
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": {
    "defer": "defer",
    "src": "https://stats.wp.com/s-202405.js",
    "id": "woocommerce-analytics-js"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 116,
    "function": "Jetpack_WooCommerce_Analytics::enqueue_tracking_script",
    "hook": "wp_enqueue_scripts",
    "priority": 10,
    "dependency_type": "script",
    "handle": "woocommerce-analytics"
    }
    ]
    }
    ]
    },
    {
    "url": "https://madeintheamericas.com/color/black/",
    "type": "is_tax[pa_color]",
    "label": "Color",
    "amp_url": "https://madeintheamericas.com/color/black/?amp=1",
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 52009,
    "edit_link": "https://madeintheamericas.com/wp-admin/post.php?post=52009&action=edit"
    },
    "validation_errors": [
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": [],
    "text": "window._wca = window._wca || [];",
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 106,
    "function": "Jetpack_WooCommerce_Analytics::wp_head_top",
    "hook": "wp_head",
    "priority": 1
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": {
    "defer": "defer",
    "src": "https://stats.wp.com/s-202405.js",
    "id": "woocommerce-analytics-js"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 116,
    "function": "Jetpack_WooCommerce_Analytics::enqueue_tracking_script",
    "hook": "wp_enqueue_scripts",
    "priority": 10,
    "dependency_type": "script",
    "handle": "woocommerce-analytics"
    }
    ]
    }
    ]
    },
    {
    "url": "https://madeintheamericas.com/finish/natural-mahogany/",
    "type": "is_tax[pa_finish]",
    "label": "Finish",
    "amp_url": "https://madeintheamericas.com/finish/natural-mahogany/?amp=1",
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 52008,
    "edit_link": "https://madeintheamericas.com/wp-admin/post.php?post=52008&action=edit"
    },
    "validation_errors": [
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": [],
    "text": "window._wca = window._wca || [];",
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 106,
    "function": "Jetpack_WooCommerce_Analytics::wp_head_top",
    "hook": "wp_head",
    "priority": 1
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": {
    "defer": "defer",
    "src": "https://stats.wp.com/s-202405.js",
    "id": "woocommerce-analytics-js"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 116,
    "function": "Jetpack_WooCommerce_Analytics::enqueue_tracking_script",
    "hook": "wp_enqueue_scripts",
    "priority": 10,
    "dependency_type": "script",
    "handle": "woocommerce-analytics"
    }
    ]
    }
    ]
    },
    {
    "url": "https://madeintheamericas.com/ingredients/purified-water/",
    "type": "is_tax[pa_ingredients]",
    "label": "Ingredients",
    "amp_url": "https://madeintheamericas.com/ingredients/purified-water/?amp=1",
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 52010,
    "edit_link": "https://madeintheamericas.com/wp-admin/post.php?post=52010&action=edit"
    },
    "validation_errors": [
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": [],
    "text": "window._wca = window._wca || [];",
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 106,
    "function": "Jetpack_WooCommerce_Analytics::wp_head_top",
    "hook": "wp_head",
    "priority": 1
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": {
    "defer": "defer",
    "src": "https://stats.wp.com/s-202405.js",
    "id": "woocommerce-analytics-js"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 116,
    "function": "Jetpack_WooCommerce_Analytics::enqueue_tracking_script",
    "hook": "wp_enqueue_scripts",
    "priority": 10,
    "dependency_type": "script",
    "handle": "woocommerce-analytics"
    }
    ]
    }
    ]
    },
    {
    "url": "https://madeintheamericas.com/material/stainless-steel/",
    "type": "is_tax[pa_material]",
    "label": "Material",
    "amp_url": "https://madeintheamericas.com/material/stainless-steel/?amp=1",
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 52011,
    "edit_link": "https://madeintheamericas.com/wp-admin/post.php?post=52011&action=edit"
    },
    "validation_errors": [
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": [],
    "text": "window._wca = window._wca || [];",
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 106,
    "function": "Jetpack_WooCommerce_Analytics::wp_head_top",
    "hook": "wp_head",
    "priority": 1
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": {
    "defer": "defer",
    "src": "https://stats.wp.com/s-202405.js",
    "id": "woocommerce-analytics-js"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 116,
    "function": "Jetpack_WooCommerce_Analytics::enqueue_tracking_script",
    "hook": "wp_enqueue_scripts",
    "priority": 10,
    "dependency_type": "script",
    "handle": "woocommerce-analytics"
    }
    ]
    }
    ]
    },
    {
    "url": "https://madeintheamericas.com/origin-country/united-states/",
    "type": "is_tax[pa_origin-country]",
    "label": "Origin Country",
    "amp_url": "https://madeintheamericas.com/origin-country/united-states/?amp=1",
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 52014,
    "edit_link": "https://madeintheamericas.com/wp-admin/post.php?post=52014&action=edit"
    },
    "validation_errors": [
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": [],
    "text": "window._wca = window._wca || [];",
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 106,
    "function": "Jetpack_WooCommerce_Analytics::wp_head_top",
    "hook": "wp_head",
    "priority": 1
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": {
    "defer": "defer",
    "src": "https://stats.wp.com/s-202405.js",
    "id": "woocommerce-analytics-js"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 116,
    "function": "Jetpack_WooCommerce_Analytics::enqueue_tracking_script",
    "hook": "wp_enqueue_scripts",
    "priority": 10,
    "dependency_type": "script",
    "handle": "woocommerce-analytics"
    }
    ]
    }
    ]
    },
    {
    "url": "https://madeintheamericas.com/?s=example",
    "type": "is_search",
    "label": "Search Results",
    "amp_url": "https://madeintheamericas.com/?s=example&amp=1",
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 52013,
    "edit_link": "https://madeintheamericas.com/wp-admin/post.php?post=52013&action=edit"
    },
    "validation_errors": [
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": [],
    "text": "window._wca = window._wca || [];",
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 106,
    "function": "Jetpack_WooCommerce_Analytics::wp_head_top",
    "hook": "wp_head",
    "priority": 1
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "head",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": {
    "defer": "defer",
    "src": "https://stats.wp.com/s-202405.js",
    "id": "woocommerce-analytics-js"
    },
    "node_type": 1,
    "sources": [
    {
    "type": "plugin",
    "name": "jetpack",
    "file": "modules/woocommerce-analytics/class-jetpack-woocommerce-analytics.php",
    "line": 116,
    "function": "Jetpack_WooCommerce_Analytics::enqueue_tracking_script",
    "hook": "wp_enqueue_scripts",
    "priority": 10,
    "dependency_type": "script",
    "handle": "woocommerce-analytics"
    }
    ]
    }
    ]
    }
    ]
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi @kingbrown75,

    It seems like you are facing an AMP validation issue with a script and styling related to Jetpack on your homepage and other pages.

    The validation errors are pointing towards specific scripts and styles from Jetpack that are not compatible with AMP. AMP has strict guidelines about what tags and scripts can be included in a page.

    For the ‘DISALLOWED_TAG’ errors, related to the WooCommerce Analytics and other Jetpack features, you will need to use the amp_analytics component to track data in an AMP-compatible way. You may need to adjust or disable certain features when AMP is active.

    For ‘STYLESHEETTOOLONG’, this implies that an inline style or a linked stylesheet goes over the AMP size limit. You may need to reduce the size of the CSS used on these pages or refactor the styles to comply with AMP standards.

    The Jetpack plugin seems to be working very well, which is great news.
    Hope that helps!

    Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hello @kingbrown75,

    Do you have updates about that? We usually close inactive threads after one week of no activity, but we want to make sure we’re all set before marking it as solved. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘AMP Plugin Detected Installation Plugin Conflict’ is closed to new replies.