I’m trying to embed HubSpot codes into next js project, but the form does not appear after locale change. It’s despite the code is still present on the page. But the <div> renders empty.
Page refresh helps.
Please help me to trigger the form refresh from the code. It’s inside dangerouslySetInnerHTML.
<!-- Start of Meetings Embed Script -->
<div class="meetings-iframe-container" data-src="https://meetings...."></div>
<script type="text/javascript" src="https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js"></script>
<!-- End of Meetings Embed Script -->