How can I remove unused YouTube JavaScript from my site?

plfunkymusic
Excursionist
32 2 12

On Google PageSpeed insights we see that YouTube javascript is being loaded on all our pages:

plfunkymusic_0-1692104582127.png


Any idea if / why this is needed and how to remove?   We don't have any video showing on our site.  We use gempages and Debut theme.

 

Thanks!

Replies 5 (5)

Emirates7
Shopify Partner
214 50 40

Hello,

 

I hope this message finds you well. In order to assist you effectively, I kindly request access to your website. Could you please provide me with the necessary credentials, including the website URL and any password required for access?

 

Thank you in advance for your cooperation.

plfunkymusic
Excursionist
32 2 12

Thanks for replying!  Our site is https://yesfriends.co

Emirates7
Shopify Partner
214 50 40

Hi,

 

I didn't find any code related to YouTube in your store. Furthermore, in Google PageSpeed Insights, I also didn't come across anything associated with YouTube.


Regards,

Emirates7

plfunkymusic
Excursionist
32 2 12

Ah, apologies, that's just the top level.  The page I'm seeing this is a product page: https://yesfriends.co/products/womens-fairtrade-organic-t-shirt

 

Emirates7
Shopify Partner
214 50 40

Hi,

 

On the provided page, I came across a script at the following URL: https://d1um8515vdn9kb.cloudfront.net/files/gempagev2.js?v=1.0

 

I'm not entirely certain about the nature of the gempage script, but it appears that this script is incorporating a YouTube script onto your store's product pages. Could this possibly be related to a page builder feature? Your insights would be greatly appreciated.

 

Regards,

Emirates7