• Resolved fabio.vito83

    (@fabiovito83)


    Dear Developer,

    I’ve recently update the plugin to the latest version 7.3.0. Soon after my website became very slow in terms of product page speed. After a speed analysis, I realized that the reason is due to your plugin which is adding a js fingerprint to each product page although there is no payment possibility in the product page.

    The stripe fingerprinted js takes several seconds to load, this has cause google to penalize my website as I have hundreds of pages with this issue.

    Please have look at the evidence here: https://snipboard.io/ISXhHu.jpg

    Could you please tell me how to solve this issue?

    Thanks,

    F.

    • This topic was modified 1 year, 7 months ago by fabio.vito83.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    I understand a JavaScript is injected on multiple product pages.

    You can try a plugin like the WordPress Assets manager, dequeue scripts, dequeue styles?to see if that makes a difference. Please note it is a third party plugin not supported by us, before installing it on your production site I recommend to first test it using a staging site. If your host doesn’t offer that option, we recommend WP Staging.

    Please note that Stripe is constantly working to provide a more secure user experience, this is an?anti-fraud detection policy, if you want to learn more, please check:

    I can not predict what will happen if by any chance the JS code is removed or deactivated. If you are looking to improve the speed of responses on your site, I recommend the following:

    I hope this information is helpful to you.

    Thread Starter fabio.vito83

    (@fabiovito83)

    Dear Igor,

    Thanks for your reply. I would like to have some clarifications as this issue has been encountered by many people but i struggle to fully understand how to best fix it.

    Why the mentioned JS is injected on product pages which do not have the option for a fast check out/payment therefore the need of the stripe platform?

    Using a third party plugin for fixing a slow loading page issue triggered by stripe is not ideal. You are suggesting using wordpress asset manager at the same time:

    1. do you have evidence that this would solve the issue?
    2. what is the draw back of removing the stripe js injected on the product page? would it cause a higher level of risk in terms of frauds?
    3. considering that this is a known issue, why can’t you implement in your plugin the possibility to disable this JS loaded for product pages in case the user does not use a fast check out/payment?

    Thanks in advance for your clarification.

    Best regards,

    F.

    Saif

    (@babylon1999)

    Hello @fabiovito83,

    I am not sure which Stripe script you are referring to, but as mentioned earlier, they are most likely required for the extension to work properly.

    You may use this filter to remove some of them from on the product and cart pages; however, this may impact the express checkout options.

    add_filter( 'wc_stripe_load_scripts_on_product_page_when_prbs_disabled', '__return_false' );
    add_filter( 'wc_stripe_load_scripts_on_cart_page_when_prbs_disabled', '__return_false' );

    Hope this helps! :?)

    Thread Starter fabio.vito83

    (@fabiovito83)

    Dear Saif,

    Thanks for your prompt reply!

    I was referring to this one: https://js.stripe.com/v3/fingerprinted/js/trusted-types-checker-239db17d86d6320632b024ca9e43ba9c.js

    Would the filters that you suggested be applicable?

    F.

    Saif

    (@babylon1999)

    I can’t find this script in my site’s source code, but I can see another merchant here confirming it was removed after adding the filter. :?)

    Cheers!

    Hi,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Best.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Strip fingerprinted loaded on each product page – poor page speed google penal’ is closed to new replies.