AMP Validation errors
-
Hi,
I have activated your SEOPRESS Plugin on my site where AMP plugin was already activated. It is showing AMP Validation errors. The AMP Validation data is given below:[ { "url": "https://bestlaptopsexpert.com/", "type": "is_home", "label": "Homepage", "amp_url": "https://bestlaptopsexpert.com/", "validation_errors": [ { "code": "CUSTOM_EXTERNAL_SCRIPT", "node_name": "script", "parent_name": "head", "type": "js_error", "node_attributes": { "async": "", "src": "https://www.googletagmanager.com/gtag/js?id=UA-141207840-2" }, "node_type": 1, "sandboxing_level": 2, "sources": [ { "type": "plugin", "name": "wp-seopress", "file": "inc/functions/options-google-analytics.php", "line": 822, "function": "seopress_google_analytics_js", "hook": "seopress_google_analytics_html", "priority": 10 } ] }, { "code": "CUSTOM_INLINE_SCRIPT", "node_name": "script", "parent_name": "head", "type": "js_error", "node_attributes": [], "text": "\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}gtag(__SINGLE_QUOTED_STRING__, new Date());\ngtag(__SINGLE_QUOTED_STRING__, __SINGLE_QUOTED_STRING__ , {__SINGLE_QUOTED_STRING__: false,});\n\n", "node_type": 1, "sandboxing_level": 2, "sources": [ { "type": "plugin", "name": "wp-seopress", "file": "inc/functions/options-google-analytics.php", "line": 822, "function": "seopress_google_analytics_js", "hook": "seopress_google_analytics_html", "priority": 10 } ] } ], "stale": false, "error": false, "validated_url_post": { "id": 4501, "edit_link": "https://bestlaptopsexpert.com/wp-admin/post.php?post=4501&action=edit" } }, { "url": "https://bestlaptopsexpert.com/why-is-my-mouse-not-working-on-chromebook/", "type": "is_singular[post]", "label": "Post", "amp_url": "https://bestlaptopsexpert.com/why-is-my-mouse-not-working-on-chromebook/", "validation_errors": [ { "code": "CUSTOM_EXTERNAL_SCRIPT", "node_name": "script", "parent_name": "head", "type": "js_error", "node_attributes": { "async": "", "src": "https://www.googletagmanager.com/gtag/js?id=UA-141207840-2" }, "node_type": 1, "sandboxing_level": 2, "sources": [ { "type": "plugin", "name": "wp-seopress", "file": "inc/functions/options-google-analytics.php", "line": 822, "function": "seopress_google_analytics_js", "hook": "seopress_google_analytics_html", "priority": 10 } ] }, { "code": "CUSTOM_INLINE_SCRIPT", "node_name": "script", "parent_name": "head", "type": "js_error", "node_attributes": [], "text": "\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}gtag(__SINGLE_QUOTED_STRING__, new Date());\ngtag(__SINGLE_QUOTED_STRING__, __SINGLE_QUOTED_STRING__ , {__SINGLE_QUOTED_STRING__: false,});\n\n", "node_type": 1, "sandboxing_level": 2, "sources": [ { "type": "plugin", "name": "wp-seopress", "file": "inc/functions/options-google-analytics.php", "line": 822, "function": "seopress_google_analytics_js", "hook": "seopress_google_analytics_html", "priority": 10 } ] } ], "stale": false, "error": false, "validated_url_post": { "id": 4598, "edit_link": "https://bestlaptopsexpert.com/wp-admin/post.php?post=4598&action=edit" } }, { "url": "https://bestlaptopsexpert.com/home-page/", "type": "is_singular[page]", "label": "Page", "amp_url": "https://bestlaptopsexpert.com/home-page/", "validation_errors": [ { "code": "CUSTOM_EXTERNAL_SCRIPT", "node_name": "script", "parent_name": "head", "type": "js_error", "node_attributes": { "async": "", "src": "https://www.googletagmanager.com/gtag/js?id=UA-141207840-2" }, "node_type": 1, "sandboxing_level": 2, "sources": [ { "type": "plugin", "name": "wp-seopress", "file": "inc/functions/options-google-analytics.php", "line": 822, "function": "seopress_google_analytics_js", "hook": "seopress_google_analytics_html", "priority": 10 } ] }, { "code": "CUSTOM_INLINE_SCRIPT", "node_name": "script", "parent_name": "head", "type": "js_error", "node_attributes": [], "text": "\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}gtag(__SINGLE_QUOTED_STRING__, new Date());\ngtag(__SINGLE_QUOTED_STRING__, __SINGLE_QUOTED_STRING__ , {__SINGLE_QUOTED_STRING__: false,});\n\n", "node_type": 1, "sandboxing_level": 2, "sources": [ { "type": "plugin", "name": "wp-seopress", "file": "inc/functions/options-google-analytics.php", "line": 822, "function": "seopress_google_analytics_js", "hook": "seopress_google_analytics_html", "priority": 10 } ] } ], "stale": false, "error": false, "validated_url_post": { "id": 4502, "edit_link": "https://bestlaptopsexpert.com/wp-admin/post.php?post=4502&action=edit" } }, { "url": "https://bestlaptopsexpert.com/buyers-guide/", "type": "is_tax[category]", "label": "Category", "amp_url": "https://bestlaptopsexpert.com/buyers-guide/", "validation_errors": [ { "code": "CUSTOM_EXTERNAL_SCRIPT", "node_name": "script", "parent_name": "head", "type": "js_error", "node_attributes": { "async": "", "src": "https://www.googletagmanager.com/gtag/js?id=UA-141207840-2" }, "node_type": 1, "sandboxing_level": 2, "sources": [ { "type": "plugin", "name": "wp-seopress", "file": "inc/functions/options-google-analytics.php", "line": 822, "function": "seopress_google_analytics_js", "hook": "seopress_google_analytics_html", "priority": 10 } ] }, { "code": "CUSTOM_INLINE_SCRIPT", "node_name": "script", "parent_name": "head", "type": "js_error", "node_attributes": [], "text": "\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}gtag(__SINGLE_QUOTED_STRING__, new Date());\ngtag(__SINGLE_QUOTED_STRING__, __SINGLE_QUOTED_STRING__ , {__SINGLE_QUOTED_STRING__: false,});\n\n", "node_type": 1, "sandboxing_level": 2, "sources": [ { "type": "plugin", "name": "wp-seopress", "file": "inc/functions/options-google-analytics.php", "line": 822, "function": "seopress_google_analytics_js", "hook": "seopress_google_analytics_html", "priority": 10 } ] } ], "stale": false, "error": false, "validated_url_post": { "id": 4506, "edit_link": "https://bestlaptopsexpert.com/wp-admin/post.php?post=4506&action=edit" } }, { "url": "https://bestlaptopsexpert.com/2022/", "type": "is_date", "label": "Date Archive", "amp_url": "https://bestlaptopsexpert.com/2022/", "validation_errors": [ { "code": "CUSTOM_EXTERNAL_SCRIPT", "node_name": "script", "parent_name": "head", "type": "js_error", "node_attributes": { "async": "", "src": "https://www.googletagmanager.com/gtag/js?id=UA-141207840-2" }, "node_type": 1, "sandboxing_level": 2, "sources": [ { "type": "plugin", "name": "wp-seopress", "file": "inc/functions/options-google-analytics.php", "line": 822, "function": "seopress_google_analytics_js", "hook": "seopress_google_analytics_html", "priority": 10 } ] }, { "code": "CUSTOM_INLINE_SCRIPT", "node_name": "script", "parent_name": "head", "type": "js_error", "node_attributes": [], "text": "\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}gtag(__SINGLE_QUOTED_STRING__, new Date());\ngtag(__SINGLE_QUOTED_STRING__, __SINGLE_QUOTED_STRING__ , {__SINGLE_QUOTED_STRING__: false,});\n\n", "node_type": 1, "sandboxing_level": 2, "sources": [ { "type": "plugin", "name": "wp-seopress", "file": "inc/functions/options-google-analytics.php", "line": 822, "function": "seopress_google_analytics_js", "hook": "seopress_google_analytics_html", "priority": 10 } ] } ], "stale": false, "error": false, "validated_url_post": { "id": 4504, "edit_link": "https://bestlaptopsexpert.com/wp-admin/post.php?post=4504&action=edit" } }, { "url": "https://bestlaptopsexpert.com/?s=example", "type": "is_search", "label": "Search Results", "amp_url": "https://bestlaptopsexpert.com/?s=example", "validation_errors": [ { "code": "CUSTOM_EXTERNAL_SCRIPT", "node_name": "script", "parent_name": "head", "type": "js_error", "node_attributes": { "async": "", "src": "https://www.googletagmanager.com/gtag/js?id=UA-141207840-2" }, "node_type": 1, "sandboxing_level": 2, "sources": [ { "type": "plugin", "name": "wp-seopress", "file": "inc/functions/options-google-analytics.php", "line": 822, "function": "seopress_google_analytics_js", "hook": "seopress_google_analytics_html", "priority": 10 } ] }, { "code": "CUSTOM_INLINE_SCRIPT", "node_name": "script", "parent_name": "head", "type": "js_error", "node_attributes": [], "text": "\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}gtag(__SINGLE_QUOTED_STRING__, new Date());\ngtag(__SINGLE_QUOTED_STRING__, __SINGLE_QUOTED_STRING__ , {__SINGLE_QUOTED_STRING__: false,});\n\n", "node_type": 1, "sandboxing_level": 2, "sources": [ { "type": "plugin", "name": "wp-seopress", "file": "inc/functions/options-google-analytics.php", "line": 822, "function": "seopress_google_analytics_js", "hook": "seopress_google_analytics_html", "priority": 10 } ] } ], "stale": false, "error": false, "validated_url_post": { "id": 4505, "edit_link": "https://bestlaptopsexpert.com/wp-admin/post.php?post=4505&action=edit" } } ]The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘AMP Validation errors’ is closed to new replies.