Always review the initial console error.
Enable the browser console and Network functions. Then analyse the script reply and content type together with the selectors and dependency sequence for the published URL. As initial script errors can affect the ability to initialise further scripts, address the first error before duplicating the script library.
Whilst some code can be activated within the Webflow preview, it is still necessary to test on a published site. Consider user consent and content security limitations. Never include private API keys within embed code.