Form not displaying on deployed site.

hello
i have a hubspot form that im embedding into my site
it is loading on plasmic studio but when deployed the form doesnt show if i hard navigate into the page only works if i navigate to it using links within the site

does anyone have any idea what could be the reason? note im deploying on vercel using next js

Is this an iframe? How does the embed work?

its something like this

<script charset="utf-8" type="text/javascript" src="<https://js.hsforms.net/forms/embed/v2.js>"></script>
<div id="demo-form"></div>
<script>
  if (window.hbspt) {
      window.hbspt.forms.create({
          portalId: 'xxxxxxx',
          formId: 'xxxx-xxx-xxxx-xxxx-xxxxxxxx',
          target: '#demo-form'
      })
  }
</script>

I’m very interested in this as well and asked recently about this in help

https://plasmiccommunity.slack.com/archives/C025BC1JJAX/p1696956445289839

@yang any idea?

@yang have you had a chance to look at this? I’m curious about this as well

@bright_cephalopod I unfortunately haven’t had time to dive into setting up Hubspot and learning how it integrates… :disappointed: