Hi all,
I’m trying to get the chatflow embedded on a landing page using an iframe, which I’ve managed to get to partially work using the below code:
<div style="width: 600x; height: 530px;"><div class="shadow"></div><iframe src="https://app.hubspot.com/conversations-visitor/2847527/threads/utk/2d64ca96e67045ada23e17022b81e7e3?uuid=b82cd5287a564b76bee4ee7286a6b200&mobile=false&mobileSafari=false&hideWelcomeMessage=false&hstc=216559305.2031e080e10c81345f36bd078f70053a.1627467156034.1627467156034.1627467156034.1&domain=silverbug.it&inApp53=false&messagesUtk=2d64ca96e67045ada23e17022b81e7e3&url=https%3A%2F%2Fwww.silverbug.it%2Fcyber-risk-calculator&inline=false&isFullscreen=false&globalCookieOptOut=no&isFirstVisitorSession=true&isAttachmentDisabled=true&enableWidgetCookieBanner=false&isInCMS=true&hubspotUtk=2031e080e10c81345f36bd078f70053a" width="400" height="600" align="centre" frameborder="0" class="LivePreview__PreviewIFrame-sc-10lc3a6-0 GGqrS"></iframe></div>
The only problem is, the above code has a fixed UUID “uuid=b82cd5287a564b76bee4ee7286a6b200”
However, the popup chatflow will dynamically apply a UUID, meaning the only way I can get this to work is by changing the UUID through Inspect by copying it from the popup chatflow iframe which is automatically generated by HubSpot and pasting it into the above code for the iframe.
The page I am testing this on is linked here: https://www.silverbug.it/cyber-risk-calculator
When you go to the page, the iframe will work perfectly once the UUID is replaced with that in the popup chatbot.
Is there a way I can get it to either work without a UUID, in the iframe url or by pulling in the correct UUID?