How can I remove unused YouTube JavaScript from my site?

How can I remove unused YouTube JavaScript from my site?

plfunkymusic
Excursionist
32 2 14

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)

Markit-Themes
Shopify Partner
296 62 51

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.

I am available for freelance work | Chat on WhatsApp.
plfunkymusic
Excursionist
32 2 14

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

Markit-Themes
Shopify Partner
296 62 51

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

I am available for freelance work | Chat on WhatsApp.
plfunkymusic
Excursionist
32 2 14

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

 

Markit-Themes
Shopify Partner
296 62 51

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

I am available for freelance work | Chat on WhatsApp.