CTA Popup Iframe

I have a CTA popup with a form embedded. In sanbox (testing environment) it renders the content inside an iframe - which is ok because the url is the same domain as the parent. However, once I deploy to production environment, the CTA popup’s iframe src url is not the same domain as the parent. Hubspot renders it as

<iframe src="https://<account_id>.hs-sites/interactive...."></iframe>

which means I cannot communicate with the iframe and hence the Form instance. Any advise on how to get something like this functioning or workaround this?


example CTA Popup

Hi @RCarias

It depends on what you want to do in that iframe. If it’s a simple styling or scripting, you can append a <style> or <script> tag in that iframe.

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!