Any tricks to getting the widgets working with NextJS?

I’m trying to use the Subscribe widget in my NextJS app and I’ve added the script and css to the head tag. And I’ve made a simple little component that holds the widget code. However, nothing shows up on load. Any ideas?

Still stuck on this one. Any help would be greatly appreciated. I’m using the latest version of NextJS 14.*

Can you share your repo please or snippets of the code?