Thread Starter
cp1132
(@cp1132)
I updated the php file.
This code does not work when having multiple different forms on a page.
<script> window.hsFormsOnReady = window.hsFormsOnReady || []; window.hsFormsOnReady.push(()=>{ hbspt.forms.create({ region: "na1", portalId: "8419634", formId: "d0de9b78-f8c6-4b96-b2fd-c2e78e483a5f", target: "#your-div-id", }) }); </script>
So I put it back to something like this:
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script>
<script>
hbspt.forms.create({
region: "na1",
portalId: "8419634",
formId: "96eaad71-152c-4ada-aba3-97b888373e9c"
});
</script>
Can you provide code that does work
Pagespeed is no different:
https://pagespeed.web.dev/analysis/https-ubigro-com/jueczbgr89?form_factor=desktop
-
This reply was modified 3 years, 2 months ago by
cp1132.
-
This reply was modified 3 years, 2 months ago by
cp1132.
Hi @cp1132
Our capacity on threads is limited and at this moment we don’t have capacity to work on the performance problem you reported. I’ll create a ticket in our backlog and leave this thread as a placeholder if this is reported by other users we can re-prioritize.
Please also note that providing custom code for embedding forms is not part of the things we support – as we provide Gutenberg blocks and Elementor widgets for that.
Best regards
Thread Starter
cp1132
(@cp1132)