Home Forums Plugins WooCommerce Boost Sales AMP compatibility

AMP compatibility

  • Author
    Posts
  • #130196

    Laurence02
    Participant

    Hello I receive an AMP compatibility warning :
    Raw validation data which you may want to share with the author so they can fix AMP compatibility
    Hereafter the information provided by the plugin;
    Thank you for your help

    [
    {
    “url”: “https://www.explorador.fr/faire-chasse-au-tresor-fete-des-meres/”,
    “type”: “is_singular[post]”,
    “label”: “Article”,
    “amp_url”: “https://www.explorador.fr/faire-chasse-au-tresor-fete-des-meres/amp/”,
    “validation_errors”: [
    {
    “node_name”: “script”,
    “parent_name”: “head”,
    “code”: “DISALLOWED_TAG”,
    “type”: “js_error”,
    “node_attributes”: {
    “type”: “text/javascript”,
    “data-cfasync”: “false”
    },
    “text”: “ntttvar wboostsales_ajax_url = __DOUBLE_QUOTED_STRING__ “,
    “node_type”: 1,
    “sources”: [
    {
    “type”: “plugin”,
    “name”: “woocommerce-boost-sales”,
    “file”: “frontend/scripts.php”,
    “line”: 51,
    “function”: “VI_WBOOSTSALES_Frontend_Scripts::custom_script”,
    “hook”: “wp_print_scripts”,
    “priority”: 10
    }
    ]
    }
    ],
    “stale”: false
    },
    {
    “url”: “https://www.explorador.fr/lets-keep-in-touch/”,
    “type”: “is_singular[page]”,
    “label”: “Page”,
    “amp_url”: “https://www.explorador.fr/lets-keep-in-touch/?amp”,
    “validation_errors”: [
    {
    “node_name”: “script”,
    “parent_name”: “head”,
    “code”: “DISALLOWED_TAG”,
    “type”: “js_error”,
    “node_attributes”: {
    “type”: “text/javascript”,
    “data-cfasync”: “false”
    },
    “text”: “ntttvar wboostsales_ajax_url = __DOUBLE_QUOTED_STRING__ “,
    “node_type”: 1,
    “sources”: [
    {
    “type”: “plugin”,
    “name”: “woocommerce-boost-sales”,
    “file”: “frontend/scripts.php”,
    “line”: 51,
    “function”: “VI_WBOOSTSALES_Frontend_Scripts::custom_script”,
    “hook”: “wp_print_scripts”,
    “priority”: 10
    }
    ]
    }
    ],
    “stale”: true
    }
    ]

You must be logged in to see replies to this topic. Click here to login or register