APIs & Integrations

03612
Mitglied

How to embeb a form on my website

Hello ,

I have issues integrating my form into my website.
My website is based on ReactJS and I also use Gastby.

I followed this tutorial sent to me by the chat support > https://community.hubspot.com/t5/Lead-Capture-Tools/How-to-embed-form-from-hubspot-on-external-site/...


I'm stuck in the the last step. I'm not really sure where to put the script. And I have an error.
I put the script  where I want the form to appears and I have an error.
×

ReferenceError: hbspt is not defined



Capture d’écran 2022-01-21 à 16.30.00.png
I did put the Hubspot installation script

 

<script
      type="text/javascript"
      id="hs-script-loader"
      async
      defer
      src="//js-eu1.hs-scripts.com/25191803.js"
    />

 

I also tried to write window.hbspt instead of hbspt alone, but it's undefined. 

Can someone tell me where I am wrong please ? Thank you !

0 Upvotes
2 Antworten
devinderpal
Mitglied

How to embeb a form on my website

Is it possible to use this integration for brake repair expert in Brampton site

0 Upvotes
raymerchant
Mitglied

How to embeb a form on my website

Same issue face my home security cameras in mississauga related site. Any one help me

0 Upvotes