• Resolved ellasbubbles

    (@ellasbubbles)


    wcPPCPSettings is responsible for 26936 characters in the DOM. This is detrimental to HTML to Text ration for SEMRush standards.

    Can you please assist?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @ellasbubbles

    Can you please provide more context for what you’re talking about? What is SEMRush?

    Thanks

    Thread Starter ellasbubbles

    (@ellasbubbles)

    Absolutely! SEMRush is a Site Auditing Platform used in commercial/corporate landscapes for web performance. Our site audit is showing Red Flags due to “Text to HTML” ratio. Which is simply the ratio between text (pure visible content) and code on your website. Over 1,800 pages of our website are effected with this Warning

    With this in mind, we have alocated the top 10 plugins/scenarios contributing to this high ratio, and yours is one of them.

    Kindly visit: view-source:https://ellasbubbles.com/accessible-showers/ella-roll-in-wheelchair-accessible-shower-base-48×37-center-drain/

    And search for “wcPPCPSettings”. This is 26936 characters in our DOM implemented from your plugin and it is highly recommended to offload this into an external file; that is, if all of the code is even required to begin with

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @ellasbubbles

    it is highly recommended to offload this into an external file

    wcPPCPSettings is the id of a <script> tag that contains Javascript that converts the characters to a variable that’s used by the plugin to store dynamic values. It cannot be converted to a JS file.

    if all of the code is even required to begin with

    Yes it’s required, we wouldn’t include it in the plugin if it wasn’t.

    Can you share one of these reports so we can understand exactly why “SEMRush” doesn’t like this? Just because they’re flagging something that doesn’t mean it’s bad. The script you’re referring to isn’t going to slow your site down which seems to be your principal concern. Are there other concerns beyond performance?

    Kind Regards

    Thread Starter ellasbubbles

    (@ellasbubbles)

    Slowing down the site is not the principle concern. “Text to HTML Ratio” (this is the third time I am mentioning the concern), is the concern. To copy and paste from my previous message: “. Our site audit is showing Red Flags due to “Text to HTML” ratio. Which is simply the ratio between text (pure visible content) and code on your website. Over 1,800 pages of our website are effected with this Warning”

    There is no need to export any report. Simply look at our DOM size for view-source:https://ellasbubbles.com/accessible-showers/ella-roll-in-wheelchair-accessible-shower-base-48×37-center-drain/

    The entire DOM is 440k Characters

    wcPPCPSettings alone is accounting for 27,000 of those character or 6% of our entire DOM size

    You can learn more about this corporate level concern here: https://www.semrush.com/blog/semrush-study-on-site-seo-issues/#6–low-text-to-html-ratio

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @ellasbubbles

    (this is the third time I am mentioning the concern), is the concern

    Up until this point you haven’t articulated why this is a concern to you. The link provides some insight into why you’re concerned but these are general guidelines.

    The site you linked to states a low text-to-HTML ratio can be a sign of. The operative word being “can be a sign of” which doesn’t mean that’s the case in all instances.

    Those characters are needed because they contain configuration data needed by PayPal to operate correctly.

    Kind Regards

    Thread Starter ellasbubbles

    (@ellasbubbles)

    Attached is a “Why” & “How to Fix” pulled directly from the SEMRush documentation for your clarification: https://i.imgur.com/YraAxTt.png

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.