GeneralMagicio / gm-planning

This repository is used for planning General Magic projects
2 stars 0 forks source link

Add Hubspot form to website #120

Open ahmadabugosh opened 1 year ago

ahmadabugosh commented 1 year ago

Hi team, can you please add this Hubspot form to the website (once it's ready)

<script charset="utf-8" type="text/javascript" src="//js-eu1.hsforms.net/forms/v2.js"></script>
<script>
  hbspt.forms.create({
    region: "eu1",
    portalId: "26169779",
    formId: "8bc570d0-106e-4f8f-827c-72bedac3974b",
    version: "V2_PRERELEASE"
  });
</script>
markoprljic commented 1 year ago

@luizakp Can you do this? Or is this done already?

luizakp commented 1 year ago

yup I can do this, next time assign me on the issue or add this issue on the project repo so I can do it right away :)

luizakp commented 1 year ago

@markoprljic what is this hubspot form exactly?

ahmadabugosh commented 1 year ago

Hey @luizakp, It's this form here: https://share-eu1.hsforms.com/1Uwmw0VEbQkCKA_lwwN9usQfkwqb

The problem is that Hubspot doesn't let you edit the styling much (it just gives you this embed code below):

<script charset="utf-8" type="text/javascript" src="//js-eu1.hsforms.net/forms/embed/v2.js"></script>
<script>
  hbspt.forms.create({
    region: "eu1",
    portalId: "26169779",
    formId: "5309b0d1-511b-4240-8a03-f970c0df6eb1"
  });
</script>

Instead of adding this form directly, another solution would be to integrate it with a form service in Next JS and then I can integrate that with Hubspot (maybe a service that either can link with Zapier or that can put the results of your form on a Google sheet)?