CMS Development

SergDev
Member

Form does not appear on locale change (Meetings Embed Script, React, Next js, prismic)

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 -->

 

0 Upvotes
1 Reply 1
BérangèreL
Community Manager
Community Manager

Form does not appear on locale change (Meetings Embed Script, React, Next js, prismic)

Hi @SergDev and welcome, we are delighted to have you here!

 

Thanks for asking the Community!

 

I'd love to put you in touch with some of our Top Experts: Hi @zach_threadint, @stefen and @Syeda_Fatima do you have suggestions to help @SergDev, please?

 

Thanks so much and Happy Holidays! ❄️

 

Best,

Bérangère


Saviez-vous que la Communauté est disponible en Français ?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres !

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings!