I was running some speed tests on my website and noticed that the js.stripe.com/v3 script is being added to every page of the website even if nothing is on the page dealing with a membership checkout
Thanks for the information. Makes sense. I see that the script is in the footer and there is a dns-prefetch for it. Thoughts on making it async or defer like they mention?
You can also load Stripe.js using the async or defer attribute on the script tag. Note, however, that with asynchronous loading any API calls will have to be made only after the script execution has finished.
Viewing 2 reply threads
The support post ‘Stripe Script on Every Page’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.