Mar 21, 202411:12 AM - edited Mar 22, 20241:48 PM
Participant
CTAs not working
Hello,
We are experiencing an issue with the HubSpot form using the CTA code. When we try it locally and in other environments, everything works fine, but when we attempt it on the . it only renders a static image of the form. I have noticed that the script for hs-web-interactive is being canceled. Please see the screenshot below for reference.
We also check with Clouflare and it seems that it's not blocked from their side.
i could reproduce the error only partialy. It seems that something (I assume your cookie script) is blocking the functionality/correct rendering due to a different domain.
The behavior I could reproduce:
- opening the link will render the form as an image
- waiting for quite some time(5-20s) will load the whole page
- After the whole page is loaded the form works fine
- If the form doesn't work, a reload and another 5-10s solves the issue
Like mentioned I assume it has to do something with your cookie script
Mar 25, 20248:35 AM - edited Mar 25, 202410:21 AM
Member
CTAs not working
Hello @Anton, I'm from the Dev team with Claudia. So, related to that issue, I will explain it more to you. I debug it in the browser using some breakpoints, and I saw that sometimes the createViews function from the web-interactive-embed.js file is creating the iframe and it's removed in the process of creating it. Sometimes it's not removed, but it's kept with visibility hidden. (check the screenshot below)