Remove code widgetapi.js (youtube widget), pagefly remnant

Remove code widgetapi.js (youtube widget), pagefly remnant

1 0 0

When we first started our site we had a youtube video on the home page. Designed in Pagefly. They use their own widget to embed videos and they do not use the embed code.


This video was slowing down our page greatly so we removed it. Now the remnants of the code remain and are still slowing our page a great deal (though not as much as the full youtube video).


Here is the code from inspector:

script id="www-widgetapi-script" type="text/javascript" src=""


It is by far the biggest element on our lighthouse treemap, so yeah, it's important.


How can we remove this?


Reply 1 (1)

Shopify Partner
494 79 133

Hi @hippielit 

I apologize for any inconvenience this may have caused. Please contact our support team through live chat, where we can further investigate this matter in detail. Given the limited context provided in your question, it has been challenging to pinpoint a solution. Thank you for your understanding.


Looking forward to hearing from you soon. 

Garcia| PageFly team

Please let me know if it works by giving it a Like or marking it as a solution!

PageFly - #1 Page Builder for Shopify merchants.

All features are available from Free plan. Live Chat Support is available 24/7.