Efficient way to keep Stripe js from loading everywhere?

[ad_1]

Been working a lot on site optimization for the past week–minifying assets, CDN, etc.

A thorn in my side is Stripes script running everywhere. We use stripe to collect payments (donations through GiveWP, primarily) but loading this script everywhere seems unnecessary and slows down our Donation Landing Page.

Any ideas on a good filter to fix or defer this?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer