• Resolved kingbrown75

    (@kingbrown75)


    A plugin conflict test was done and determined Jetpack Boost’s Defer Non-Essential JavaScript is removing WPSSO Social and Search Optimization JSON-LD schema from the product page View Page Source.

    https://prnt.sc/S6FGwdK33W6Q before Jetpack Boost removed
    https://prnt.sc/7zECMgQhBPm1 after Jetpack Boost removed

    The WPSSO developer was contacted and said to reach out to Jetpack support. The Jetpack Boost settings were tested to determine Defer Non-Essential JavaScript toggle switched on triggers the removal.

    Looking forward to your response.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have updated WPSSO Core to exclude WPSSO’s Schema markup from Jetpack Boost’s “Defer Non-Essential JavaScript” feature.

    The problem is this:

    Jetpack Boost moves JSON-LD encoded Schema markup, not just Javascript, when the “Defer Non-Essential JavaScript” feature is enabled.

    WPSSO offers a WPSSO SSM add-on to remove old microdata markup and duplicate Schema markup / meta tags from the webpage. To do this, it excludes the WPSSO code block from the search, but if WPSSO’s Schema markup is moved, then it is detected as duplicate and removed.

    So the issue is a combination of enabling “Defer Non-Essential JavaScript” in Jetpack Boost, which also moves Schema markup (I’d really suggest breaking that up into two features – one for Javascript and another for Schema) and the WPSSO SSM add-on.

    The upcoming WPSSO Core v17.11.0 will exclude WPSSO’s Schema markup from the Jetpack Boost “Defer Non-Essential JavaScript” feature, so this should not be a problem going forward. I’d suggest making that feature a bit clearer though – “Defer Non-Essential JavaScript” moves any script block, not just JavaScript as the option name implies.

    js.

    Plugin Support Alin (a11n)

    (@alinclamba)

    Hello @kingbrown75,

    Thank you for bringing this issue to our attention and for the detailed explanation provided by @jsmoriss. It’s insightful to understand how Jetpack Boost’s “Defer Non-Essential JavaScript” feature interacts with WPSSO’s Schema markup and the implications it has.

    I’m glad to hear that WPSSO Core v17.11.0 will be updated to exclude its Schema markup from being affected by our feature. This should resolve the issue you’re experiencing.

    From the Jetpack Boost side, we appreciate the feedback regarding the functionality of the “Defer Non-Essential JavaScript” feature. The insight that it moves any script block, not just JavaScript, is valuable. We’ll take this into consideration for future updates to ensure clarity and improved compatibility with other plugins. Your feedback is instrumental in helping us enhance Jetpack Boost.

    While the immediate issue will be addressed by the upcoming WPSSO update, we are also committed to continuously improving Jetpack Boost based on user experiences and interactions with other plugins.

    Thank you again for your patience and cooperation in this matter. If there are any further issues or if you have additional feedback, please don’t hesitate to reach out.

    Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Jetpack Boost’s Defer Non-Essential JavaScript removing product JSON-LD schema’ is closed to new replies.